forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1181c51
commit 08eec72
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Updated RPCs | ||
-------- | ||
|
||
- `protx diff` RPC returns a new field `quorumsCLSigs`. | ||
This field is a list of: Chainlock signature and the list of corresponding quorum indexes in `newQuorums`. | ||
|
||
`MNLISTDIFF` P2P message | ||
-------- | ||
|
||
Starting with protocol version `70228`, the following fields is added to the `MNLISTDIFF` after `newQuorums`. | ||
|
||
| Field | Type | Size | Description | | ||
|--------------------|-----------------------|----------|---------------------------------------------------------------------| | ||
| quorumsCLSigsCount | compactSize uint | 1-9 | Number of quorumsCLSigs elements | | ||
| quorumsCLSigs | quorumsCLSigsObject[] | variable | CL Sig used to calculate members per quorum indexes (in newQuorums) | | ||
|
||
The content of `quorumsCLSigsObject`: | ||
|
||
| Field | Type | Size | Description | | ||
|---------------|------------------|----------|---------------------------------------------------------------------------------------------| | ||
| signature | BLSSig | 96 | Chainlock signature | | ||
| indexSetCount | compactSize uint | 1-9 | Number of quorum indexes using the same `signature` for their member calculation | | ||
| indexSet | uint16_t[] | variable | Quorum indexes corresponding in `newQuorums` using `signature` for their member calculation | | ||
|
||
Note: The field `quorumsCLSigs` in both RPC and P2P will be populated only after the v20 activation. |