Exemplo n.º 1
0
        public ChainState()
        {
            fdb = new FileDB();
            sdb = new StateDB(fdb);

            // Every node starts with genesisBlock.
            //   This will be overwritten if there is any other live nodes.
            PushBlock(Block.GenesisBlock());
        }
Exemplo n.º 2
0
 public StateDB(FileDB _fdb)
 {
     fdb = _fdb;
 }
Exemplo n.º 3
0
 public StateDB()
 {
     fdb = new FileDB();
 }