Skip to Content
Foundations of Blockchain
book

Foundations of Blockchain

by Koshik Raj
January 2019
Beginner to intermediate
372 pages
11h 17m
English
Packt Publishing
Content preview from Foundations of Blockchain

Connecting to an existing chain

If a chain is created in a private network, other nodes can then connect to the created node and perform operations on the same blockchain. Any node can connect to the chain using the following command:

$ multichaind chain1@[ip-address]:[port]  

Any remote node in the network can connect to the chain using the IP address and the MultiChain port. Each MultiChain daemon process assigns a different port number to its server. If the connect permission of the chain configuration is not set to open, then each node in the network has to be explicitly given permission by the admin, as follows:

$ multichain-cli chain1 grant [node-address] connect  

Node-address is the public address, or wallet address, of the node, which ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Blockchain Basics

Blockchain Basics

Daniel Drescher
What Is Blockchain?

What Is Blockchain?

Sir John Hargrave, Evan Karnoupakis
Mastering Blockchain

Mastering Blockchain

Lorne Lantz, Daniel Cawrey

Publisher Resources

ISBN: 9781789139396Supplemental Content