diff options
| author | Adam Soltys <[email protected]> | 2020-05-18 21:12:02 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-05-18 21:12:02 -0700 |
| commit | d5b319d53931761c250b3c60abdc9332fbceda19 (patch) | |
| tree | 2e86d89f2f5b379787d8e0be4676a65a667f5925 | |
| parent | d0cce06f6337f7d51f67a8bbbee17bb5187272fa (diff) | |
| download | coinos-server-logging.tar.gz coinos-server-logging.zip | |
bitcoin node testlogging
| -rw-r--r-- | bitcointest.js | 4 |
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); |
