export class Blockchain { public nodeId : string ; public blocks : Array < any > ; public transactionPool : Array < any > ; constructor ( nodeId ) { this . nodeId = nodeId ; this . blocks = [ ] ; this . transactionPool = [ ] ; } public submitTransaction ( ) { } public createBlock ( ) { } }