Skip to content

Commit 9ce2bb0

Browse files
committed
rpc: add notes for get_consensus rpc multisig will upgrade
Signed-off-by: Eval EXEC <[email protected]>
1 parent 734ce62 commit 9ce2bb0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

rpc/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1657,6 +1657,8 @@ The response looks like below when `verbosity` is 0.
16571657

16581658
Return various consensus parameters.
16591659

1660+
Notes: The `secp256k1_blake160_multisig_all_type_hash` the hash created on genesis block, CKB may upgrade the multisig script: https://github.com/nervosnetwork/ckb-system-scripts
1661+
16601662
###### Returns
16611663

16621664
If any hardfork feature has `epoch=null`, it means the feature will never be activated.
@@ -7544,4 +7546,4 @@ For example, a cellbase transaction is not allowed in `send_transaction` RPC.
75447546
### ERROR `PoolRejectedInvalidated`
75457547
(-1112): The transaction is rejected for ref cell consuming.
75467548
### ERROR `Indexer`
7547-
(-1200): The indexer error.
7549+
(-1200): The indexer error.

rpc/src/module/chain.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1322,6 +1322,8 @@ pub trait ChainRpc {
13221322

13231323
/// Return various consensus parameters.
13241324
///
1325+
/// Notes: The `secp256k1_blake160_multisig_all_type_hash` the hash created on genesis block, CKB may upgrade the multisig script: https://github.com/nervosnetwork/ckb-system-scripts
1326+
///
13251327
/// ## Returns
13261328
///
13271329
/// If any hardfork feature has `epoch=null`, it means the feature will never be activated.

0 commit comments

Comments
 (0)