Add getBlockHeader method.

This commit is contained in:
Miguel Medeiros
2021-07-22 02:14:11 -03:00
parent f244ad191e
commit 47fa100786
9 changed files with 13807 additions and 3040 deletions

View File

@@ -31,8 +31,9 @@
"scripts": {
"start": "ts-node src/index.ts",
"dev": "nodemon src/index.ts",
"examples-nodemon": "nodemon --watch 'examples/nodejs/**' --ext 'ts,json' --ignore 'src/**/*.spec.ts' --exec 'ts-node examples/nodejs/index.ts'",
"build": "tsc",
"build-js": "tsc | browserify lib/index.js --standalone mempoolJS > dist/mempool.js | browserify -p tinyify lib/index.js --standalone mempoolJS > dist/mempool.min.js",
"export-js": "tsc | browserify lib/index.js --standalone mempoolJS > dist/mempool.js | browserify -p tinyify lib/index.js --standalone mempoolJS > dist/mempool.min.js",
"prepare": "npm run build",
"postversion": "git push && git push --tags"
},