Skip to content

Conversation

@derekm
Copy link

@derekm derekm commented Dec 14, 2019

No description provided.

// PEER
let m = new Messages({ Block: bsv.Block, BlockHeader: bsv.BlockHeader, Transaction: bsv.Transaction, MerkleBlock: bsv.MerkleBlock })
let g = Object.assign({ host: "127.0.0.1", messages: m }, (gene && gene.peer ? gene.peer : {}))
let g = Object.assign({ host: rpcconfig.host, messages: m }, (gene && gene.peer ? gene.peer : {}))
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems legit. ;-) Good to go.

Copy link

@auxon auxon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is good to merge.

- `pass`: JSON-RPC password (**required**)
- `peer`: P2P settings
- `host`: Peer IP to connect to (**optional.** default: 127.0.0.1)
- `host`: Peer IP to connect to (**optional.** default: same as `rpc.host`)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating the docs. You are a gentleman and a scholar.

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

Successfully merging this pull request may close these issues.

2 participants