mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
aa8462b060
## Issue being fixed or feature implemented ## What was done? Implementation of 4k collateral HPMN. ## How Has This Been Tested? ## Breaking Changes ## Checklist: - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have added or updated relevant unit/integration/functional/e2e tests - [x] I have made corresponding changes to the documentation **For repository code-owners and collaborators only** - [x] I have assigned this pull request to a milestone --------- Co-authored-by: thephez <thephez@users.noreply.github.com> Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com> Co-authored-by: pasta <pasta@dashboost.org> Co-authored-by: PastaPastaPasta <6443210+pastapastapasta@users.noreply.github.com> Co-authored-by: UdjinM6 <1935069+Udjinm6@users.noreply.github.com> Co-authored-by: Konstantin Akimov <545784+knst@users.noreply.github.com>
18 lines
1.0 KiB
Markdown
18 lines
1.0 KiB
Markdown
Added RPCs
|
|
--------
|
|
|
|
The following RPCs were added: `protx register_hpmn`, `protx register_fund_hpmn`, `protx register_prepare_hpmn` and `protx update_service_hpmn`.
|
|
These HPMN RPCs correspond to the standard masternode RPCs but have the following additional mandatory arguments: `platformNodeID`, `platformP2PPort` and `platformHTTPPort`.
|
|
- `platformNodeID`: Platform P2P node ID, derived from P2P public key.
|
|
- `platformP2PPort`: TCP port of Dash Platform peer-to-peer communication between nodes (network byte order).
|
|
- `platformHTTPPort`: TCP port of Platform HTTP/API interface (network byte order).
|
|
Notes:
|
|
- `platformNodeID` must be unique across the network.
|
|
- `platformP2PPort`, `platformHTTPPort` and the Core port must be distinct.
|
|
|
|
|
|
Updated RPCs
|
|
--------
|
|
|
|
The RPC's `gobject getcurrentvotes` reply is enriched by adding the vote weight at the end of each line. Possible values are 1 or 4. Example:
|
|
`"7cb20c883c6093b8489f795b3ec0aad0d9c2c2821610ae9ed938baaf42fec66d": "277e6345359071410ab691c21a3a16f8f46c9229c2f8ec8f028c9a95c0f1c0e7-1:1670019339:yes:funding:4"` |