nervosnetwork / ckb-light-client

CKB light client reference implementation
MIT License
14 stars 16 forks source link

the transaction did not broadcast properly #188

Closed gpBlockchain closed 6 months ago

gpBlockchain commented 7 months ago

get_peers

Both Protocols 0x65(RelayV2) and Protocols 0x67(RelayV3) are present in the result

when send tx , full node return Status::ignored(), the light client did not print any logs but considered the transaction broadcast successful. https://github.com/nervosnetwork/ckb/blob/develop/sync/src/relayer/mod.rs#L136

when send tx commited, tx was not removed from the pending list https://github.com/nervosnetwork/ckb-light-client/blob/789b08c8c7e14bc9f153bfa84ce203d03d2b23e8/src/protocols/relayer.rs#L22