コード例 #1
0
        public GenesisBuilder(IGenesisAssetsBuilder genesisAssetsBuilder, ISigner <Block> blockSigner)
        {
            _genesisAssetsBuilder = genesisAssetsBuilder;
            _blockSigner          = blockSigner;

            BinarySerializer.RegisterTypes(typeof(Transaction).Assembly, typeof(BlockHeader).Assembly);
        }
コード例 #2
0
 public AccountManager(IRepository repository, IGenesisAssetsBuilder genesisAssets)
 {
     _repository    = repository;
     _genesisAssets = genesisAssets;
 }