Skip to content

Commit

Permalink
docs: re-generate rpc-doc
Browse files Browse the repository at this point in the history
Signed-off-by: Eval EXEC <[email protected]>
  • Loading branch information
eval-exec committed Apr 23, 2023
1 parent 3c1c548 commit 71adf86
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion rpc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ The crate `ckb-rpc`'s minimum supported rustc version is 1.67.1.
* [Type `PoolTransactionReject`](#type-pooltransactionreject)
* [Type `ProposalShortId`](#type-proposalshortid)
* [Type `ProposalWindow`](#type-proposalwindow)
* [Type `Ratio`](#type-ratio)
* [Type `RationalU256`](#type-rationalu256)
* [Type `RawTxPool`](#type-rawtxpool)
* [Type `RemoteNode`](#type-remotenode)
Expand Down Expand Up @@ -5735,7 +5736,9 @@ An object containing various state info regarding deployments of consensus chang

* `period`: [`EpochNumber`](#type-epochnumber) - the length in epochs of the signalling period

* `threshold`: [`EpochNumber`](#type-epochnumber) - The first epoch which the current state applies
* `threshold`: [`Ratio`](#type-ratio) - the ratio of blocks with the version bit set required to activate the feature

* `since`: [`EpochNumber`](#type-epochnumber) - The first epoch which the current state applies

* `state`: [`DeploymentState`](#type-deploymentstate) - With each epoch and softfork, we associate a deployment state. The possible states are:

Expand Down Expand Up @@ -6483,6 +6486,12 @@ A non-cellbase transaction is committed at height h_c if all of the following co
* `farthest`: [`BlockNumber`](#type-blocknumber) - The farthest distance between the proposal and the commitment.


### Type `Ratio`

Represents the ratio `numerator / denominator`, where `numerator` and `denominator` are both unsigned 64-bit integers.



### Type `RationalU256`

The ratio which numerator and denominator are both 256-bit unsigned integers.
Expand Down Expand Up @@ -6927,6 +6936,8 @@ The JSON view of a transaction as well as its status.

* `cycles`: [`Cycle`](#type-cycle) `|` `null` - The transaction consumed cycles.

* `enter_tx_pool_timestamp`: [`Uint64`](#type-uint64) `|` `null` - If the transaction is in tx-pool, `enter_tx_pool_timestamp` represent when it enter the tx-pool

* `tx_status`: [`TxStatus`](#type-txstatus) - The Transaction status.


Expand Down

0 comments on commit 71adf86

Please sign in to comment.