MCPcopy Create free account
hub / github.com/ElementsProject/elements / RPCSerializationFlags

Function RPCSerializationFlags

src/rpc/server.cpp:540–546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

538}
539
540int RPCSerializationFlags()
541{
542 int flag = 0;
543 if (gArgs.GetIntArg("-rpcserialversion", DEFAULT_RPC_SERIALIZE_VERSION) == 0)
544 flag |= SERIALIZE_TRANSACTION_NO_WITNESS;
545 return flag;
546}
547
548CRPCTable tableRPC;

Callers 11

rest_blockFunction · 0.85
rest_txFunction · 0.85
NotifyBlockMethod · 0.85
NotifyTransactionMethod · 0.85
createrawpeginFunction · 0.85
combineblocksigsFunction · 0.85
TxToJSONFunction · 0.85
getrawtransactionFunction · 0.85
blockToJSONFunction · 0.85
getblockFunction · 0.85
rpcSerializationFlagsMethod · 0.85

Calls 1

GetIntArgMethod · 0.80

Tested by

no test coverage detected