Subject unl list to consensus. (#186)

* Unl hash in consensus proposals.
* Unl syncing and sync request serving.
* Adding unl hash to the ledger block.
This commit is contained in:
Savinda Senevirathne
2020-12-08 15:05:38 +05:30
committed by GitHub
parent a87e8a0c7e
commit 7bf0475b6f
15 changed files with 740 additions and 65 deletions

View File

@@ -2,7 +2,6 @@
#include "conf.hpp"
#include "crypto.hpp"
#include "util/util.hpp"
#include "unl.hpp"
namespace conf
{
@@ -489,9 +488,6 @@ namespace conf
return -1;
}
// Populate unl.
unl::init(cfg.unl);
// Populate runtime contract execution args.
if (!cfg.binargs.empty())
util::split_string(cfg.runtime_binexec_args, cfg.binargs, " ");