Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run bcoin with neutrino enabled #4

Open
micahstubbs opened this issue Apr 8, 2018 · 6 comments
Open

run bcoin with neutrino enabled #4

micahstubbs opened this issue Apr 8, 2018 · 6 comments

Comments

@micahstubbs
Copy link
Owner

pass the flag bip157

https://github.com/bcoin-org/bcoin/pull/370/files#diff-8cd402fc6fa29dcd24f07c657917bf3cR65

@micahstubbs
Copy link
Owner Author

ok, trying this ./bin/bcoin --network testnet --bip157

maybe it's working?

@micahstubbs
Copy link
Owner Author

micahstubbs commented Apr 8, 2018

npm install
./bin/bcoin --network testnet --bip157 --prefix ~/.bcoin_c4yt

related to #14

@micahstubbs
Copy link
Owner Author

micahstubbs commented Apr 8, 2018

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
});

@micahstubbs
Copy link
Owner Author

micahstubbs commented Apr 8, 2018

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;

@micahstubbs
Copy link
Owner Author

micahstubbs commented Apr 8, 2018

➜  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).

@micahstubbs
Copy link
Owner Author

./bin/bcoin --network testnet --bip157 --prefix ~/.bcoin_c4yt --tx-index

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant