MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / RPCSerializationFlags

Function RPCSerializationFlags

src/rpc/server.cpp:553–559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

551}
552
553int RPCSerializationFlags()
554{
555 int flag = 0;
556 if (gArgs.GetArg("-rpcserialversion", DEFAULT_RPC_SERIALIZE_VERSION) == 0)
557 flag |= SERIALIZE_TRANSACTION_NO_WITNESS;
558 return flag;
559}
560
561CRPCTable tableRPC;

Callers 9

rest_blockFunction · 0.85
rest_txFunction · 0.85
NotifyBlockMethod · 0.85
NotifyTransactionMethod · 0.85
gettransactionFunction · 0.85
TxToJSONFunction · 0.85
getrawtransactionFunction · 0.85
blockToJSONFunction · 0.85
getblockFunction · 0.85

Calls 1

GetArgMethod · 0.45

Tested by

no test coverage detected