aboutsummaryrefslogtreecommitdiffstats
path: root/bitcointest.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-05-18 21:12:02 -0700
committerAdam Soltys <[email protected]>2020-05-18 21:12:02 -0700
commitd5b319d53931761c250b3c60abdc9332fbceda19 (patch)
tree2e86d89f2f5b379787d8e0be4676a65a667f5925 /bitcointest.js
parentd0cce06f6337f7d51f67a8bbbee17bb5187272fa (diff)
downloadcoinos-server-logging.tar.gz
coinos-server-logging.zip
bitcoin node testlogging
Diffstat (limited to 'bitcointest.js')
-rw-r--r--bitcointest.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitcointest.js b/bitcointest.js
new file mode 100644
index 00000000..2abb92fc
--- /dev/null
+++ b/bitcointest.js
@@ -0,0 +1,4 @@
+config = require("./config");
+BitcoinCore = require("bitcoin-core");
+bc = new BitcoinCore(config.bitcoin);
+bc.getNetworkInfo().then(console.log);