Open micahstubbs opened 6 years ago
ok, trying this ./bin/bcoin --network testnet --bip157
maybe it's working?
npm install
./bin/bcoin --network testnet --bip157 --prefix ~/.bcoin_c4yt
related to #14
EDIT: forget the special ports
const proxy = new WSProxy({
ports: [8555, 18444, 18666, 28444, 28909]
});
const server = bweb.server({
port: Number(process.argv[2]) || 8081,
sockets: false
});
edit: will use the normal ports
main.port = 8555;
main.rpcPort = 8552;
main.walletPort = 8554;
testnet.port = 18444;
regtest.port = 48555;
testnet.rpcPort = 18552;
testnet.walletPort = 18554;
➜ bcoin-c4yt-master ./bin/bcoin --network testnet --bip157 --prefix ~/.bcoin_c4yt
[info] (chain) Chain is loading.
[info] (chain) Checkpoints are enabled.
[info] (chaindb) Opening ChainDB...
[info] (chaindb) ChainDB successfully loaded.
[info] (chaindb) Chain State: hash=000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943 tx=1 coin=0 value=0.0.
[info] (chain) Chain Height: 0
[debug] (chain) Memory: rss=55mb, js-heap=14/22mb native-heap=32mb
[debug] (chain) Memory: rss=55mb, js-heap=14/22mb native-heap=32mb
[info] (mempool) Mempool loaded (maxsize=97656.25kb).
[info] (miner) Miner loaded (flags=mined by bcoin).
[warning] (miner) No reward address is set for miner!
[info] (net) Pool loaded (maxpeers=8).
[info] (net) Initialized header chain to height 0 (checkpoint=000000002a936ca763904c3c35fce2f3556c559c0214345d31b1bcebf76acb70).
[info] (wallet) Added 22 hashes to WalletDB filter.
[info] (wallet) Added 0 outpoints to WalletDB filter.
[info] (wallet) WalletDB loaded (depth=1, height=0, start=0).
[info] (wallet) Resyncing from server...
[info] (wallet) Sending filter to server (5.1418256759643555mb).
[info] (wallet) Syncing state from height 0.
[info] (wallet) WalletDB is scanning 1 blocks.
[info] (wallet) Rolled back to same height (0).
[info] (chaindb) Scanning from block 000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943.
[info] (wallet) Wallet opened (primary).
[info] (chaindb) Scanning block 000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943 (0).
[warning] (wallet) Already saw WalletDB block (0).
[info] (wallet) Loaded primary wallet (id=primary, wid=0, address=n1P1MDCuU45xyTEb5n9uNP5rVPfx1xzM5U)
[info] (http) Wallet HTTP server listening on 127.0.0.1 (port=18554).
[info] (chaindb) Finished scanning 1 blocks.
[info] (wallet) Resending from 1 wallets.
[info] (http) Node HTTP server listening on 127.0.0.1 (port=18552).
./bin/bcoin --network testnet --bip157 --prefix ~/.bcoin_c4yt --tx-index
pass the flag
bip157
https://github.com/bcoin-org/bcoin/pull/370/files#diff-8cd402fc6fa29dcd24f07c657917bf3cR65