ElementsProject / elements

Open Source implementation of advanced blockchain features extending the Bitcoin protocol
MIT License
1.06k stars 380 forks source link

Add epoch_length to getsidechaininfo #1149

Open stevenroose opened 2 years ago

jhfrontz commented 2 years ago

obj.pushKV("epoch_length", (uint64_t)chainparams.GetConsensus().dynamic_epoch_length); (in getblockchaininfo) provides this, no?