git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: c33f49958fc7e7e7c43b192b0c2b4361eda3c8a1

Files: c33f49958fc7e7e7c43b192b0c2b4361eda3c8a1 / runBlock.js

293 bytesRaw
1// run block; the block message handler:w
2const Environment = require('./environment')
3
4module.exports = class runBlock {
5 constuctor (block, environment = new Environment()) {
6 // verify block then run each tx
7 block.tx.forEach((tx) => {
8 this.runTx(tx, environment)
9 })
10 }
11}
12

Built with git-ssb-web