Open yangby-cryptape opened 7 months ago
The RPC method send_transaction:
send_transaction
send_transaction(tx_hash, outputs_validator)
send_transaction(tx_hash)
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.
send_transaction(tx_hash, _dummy_string_drop_directly)
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.
Will the unification also support the RBF transaction feature?
Description
The RPC method
send_transaction
:send_transaction(tx_hash, outputs_validator)
.send_transaction(tx_hash)
.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.