Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private Block CreateGenesisBlock()
- {
- var lst = new List<Transaction>();
- var trx = new Transaction
- {
- Amount = 1000,
- Sender = "System",
- Recipient = "Genesis Account",
- Fee = 0.0001
- };
- lst.Add(trx);
- var trxByte = lst.ToArray().ConvertToByte();
- return new Block(1, String.Empty.ConvertToBytes(), lst.ToArray(), "Admin");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement