-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
The Shelley genesis file has a staking
key, which contains a pools
map of pool IDs (in hex string form) with the pool parameters and a stake
map which maps stake addresses (hex string) to pool IDs (also hex string).
"staking": {
"pools": {
"0aedc455785463235311c990f68742c9043cd79af09ab31c2ba5e195": {
"cost": 340000000,
"margin": 0.0,
"metadata": null,
"owners": [],
"pledge": 0,
"publicKey": "0aedc455785463235311c990f68742c9043cd79af09ab31c2ba5e195",
"relays": [
{
"single host name": {
"dnsName": "p4.example",
"port": 3001
}
}
],
"rewardAccount": {
"credential": {
"key hash": "6079cde665c2035b8d9ac8929307bdd7f20a51e678e9d4a5e39ace3a"
},
"network": "Testnet"
},
"vrf": "eb53a17fbad9b7ea0bcf1e1ea89355305600d593b426dfc3084a924d8877d47e"
}
},
"stake": {
"24632b71152f31516054075897d0d4ababc33204f8a8661136d49e36": "0aedc455785463235311c990f68742c9043cd79af09ab31c2ba5e195"
}
}
We need a function which can generate the list of initial pools.
Metadata
Metadata
Assignees
Labels
No labels