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

Checking the blockchain

A node is completely set up in a private blockchain network after a successful connection to a blockchain is made. The local blockchain will be updated by accepting blocks from nodes in the network. The blockchain's status can be verified by issuing the following command through the command-line interface:

$ multichain-cli chain1 getinfo  

This command provides general information about the node, MultiChain, and several blockchain parameters in a key-value paired document, as follows:

    {"method":"getinfo","params":[],"id":1,"chain_name":"chain1"}
    
    {
      "version": "1.0.2",
      "nodeversion": 10002901,
      "protocolversion": 10009,
      "chainname": "chain1",
      "description": "MultiChain chain1",
      "protocol": "multichain",
     "port": ...
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