Peer-to-peer node handshaking | MultiChain (2024)

In MultiChain, nodes prove their identity when connecting to other nodes

MultiChain handshaking protocol

For MultiChain blockchains, the version and verack messages in the bitcoin protocol are replaced with three messages (version, verack and verackack) which perform the following additional functions:

  • Check both peers are on a blockchain with the same name.
  • If necessary, download the blockchain parameters from the other side, otherwise check both are using identical parameters.
  • Each node identifies a public address which has connection permissions and for which it has the private key.
  • Each node sends a challenge message to the other node which it must sign using the private key corresponding to the address it presented.

Support for bitcoin protocol handshaking

If a MultiChain chain has anyone-can-connect set to true in the blockchain parameters, then MultiChain nodes will also accept incoming connections from wallets that use regular bitcoin-style handshaking, without the extra stages above. This can be helpful if you want to connect to a MultiChain network from a regular bitcoin (e.g. mobile) wallet. However you should note the following caveats:

  • Change the wallet’s connection port to the default-network-port set in the blockchain parameters.
  • Ensure the wallet accepts the protocol-version which is defined on your chain, or remove the check completely to allow your protocol to be upgraded in future.
  • Before starting the chain, set network-message-start=f9beb4d9 in the blockchain parameters, to match bitcoin’s peer-to-peer protocol.
  • The bitcoin wallet will choke on MultiChain addresses, so you should also configure the chain to use bitcoin-style addresses by setting address-pubkeyhash-version=00, address-scripthash-version=05, private-key-version=80, address-checksum-value=00000000 in the blockchain parameters.
  • Depending on the wallet in question, it may also not like other aspects of the blockchain which are different to bitcoin’s, such as the content of the genesis block, the block reward schedule and non-standard transactions. So you might want to start by using the bitcoin-compatible params file for your blockchain parameters, and making only minor modifications from there, such as the chain-name, default-network-port and global permissions. The chain-name must match the name of the chain’s directory inside ~/.multichain/.
  • The wallet’s interface will be focused on the native blockchain currency, rather than any native assets issued on the chain. This also means that it will build transactions incorrectly if they contain native assets in their inputs.

See also these instructions for creating a bitcoin-style network using MultiChain, with no native assets or permissions.

Peer-to-peer node handshaking | MultiChain (2024)
Top Articles
How To Sell My Jewelry and Get the Most Money
LeapLaw's Ticker Symbol Best Practice Summary
neither of the twins was arrested,传说中的800句记7000词
Login Page
Chicago Neighborhoods: Lincoln Square & Ravenswood - Chicago Moms
Die Windows GDI+ (Teil 1)
Top 10: Die besten italienischen Restaurants in Wien - Falstaff
Derpixon Kemono
18443168434
Slope Unblocked Minecraft Game
Readyset Ochsner.org
Baywatch 2017 123Movies
Carolina Aguilar Facebook
Comics Valley In Hindi
Vipleaguenba
Divina Rapsing
Www Craigslist Milwaukee Wi
Drift Boss 911
*Price Lowered! This weekend ONLY* 2006 VTX1300R, windshield & hard bags, low mi - motorcycles/scooters - by owner -...
Www.dunkinbaskinrunsonyou.con
Loslaten met de Sedona methode
Netwerk van %naam%, analyse van %nb_relaties% relaties
Piedmont Healthstream Sign In
Sorrento Gourmet Pizza Goshen Photos
Waters Funeral Home Vandalia Obituaries
Tactical Masters Price Guide
Jazz Total Detox Reviews 2022
Gopher Carts Pensacola Beach
Imagetrend Elite Delaware
Ezstub Cross Country
Persona 4 Golden Taotie Fusion Calculator
Dreamcargiveaways
AP Microeconomics Score Calculator for 2023
拿到绿卡后一亩三分地
Manatee County Recorder Of Deeds
Scanning the Airwaves
The best Verizon phones for 2024
Alpha Asher Chapter 130
Suffix With Pent Crossword Clue
Jetblue 1919
Cl Bellingham
Cvs Coit And Alpha
Euro area international trade in goods surplus €21.2 bn
Lesson 5 Homework 4.5 Answer Key
6463896344
Guy Ritchie's The Covenant Showtimes Near Look Cinemas Redlands
Wild Fork Foods Login
Edt National Board
Grace Charis Shagmag
One Facing Life Maybe Crossword
San Pedro Sula To Miami Google Flights
Latest Posts
Article information

Author: Allyn Kozey

Last Updated:

Views: 6329

Rating: 4.2 / 5 (63 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Allyn Kozey

Birthday: 1993-12-21

Address: Suite 454 40343 Larson Union, Port Melia, TX 16164

Phone: +2456904400762

Job: Investor Administrator

Hobby: Sketching, Puzzles, Pet, Mountaineering, Skydiving, Dowsing, Sports

Introduction: My name is Allyn Kozey, I am a outstanding, colorful, adventurous, encouraging, zealous, tender, helpful person who loves writing and wants to share my knowledge and understanding with you.