MCPcopy Create free account
hub / github.com/CovenantSQL/CovenantSQL / AddTx

Method AddTx

blockproducer/rpc.go:92–95  ·  view source on GitHub ↗

AddTx is the RPC method to add a transaction.

(req *types.AddTxReq, _ *types.AddTxResp)

Source from the content-addressed store, hash-verified

90
91// AddTx is the RPC method to add a transaction.
92func (s *ChainRPCService) AddTx(req *types.AddTxReq, _ *types.AddTxResp) (err error) {
93 s.chain.addTx(req)
94 return
95}
96
97// QueryAccountTokenBalance is the RPC method to query account token balance.
98func (s *ChainRPCService) QueryAccountTokenBalance(

Callers

nothing calls this directly

Calls 1

addTxMethod · 0.45

Tested by

no test coverage detected