nervosnetwork / ckb-light-client

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

[Discussion] Unify the RPC method `send_transaction`. #186

Open yangby-cryptape opened 7 months ago

yangby-cryptape commented 7 months ago

Description

The RPC method send_transaction:

So, with CKB SDK, for example, rust SDK, we have to clarify which node our app was connected: a full node or a light client.

Could light client just defines the methods to be send_transaction(tx_hash, _dummy_string_drop_directly), so the RPC method could be unified.

It's useful for an abstract client, which doesn't care about which kind of endpoint it connected, a full node or a light client.

Ref: nervosnetwork/ckb-sdk-rust#101.

homura commented 6 months ago

Will the unification also support the RBF transaction feature?