Documentation
¶
Overview ¶
Package main implements a ledger based on in-memory components.
Unix example:
# Expect GOPATH to be correctly set to have memcoin available. go install memcoin --config /tmp/node1 start --port 2001 & memcoin --config /tmp/node2 start --port 2002 & memcoin --config /tmp/node3 start --port 2003 & # Share the different certificates among the participants. memcoin --config /tmp/node2 minogrpc join --address 127.0.0.1:2001\ $(memcoin --config /tmp/node1 minogrpc token) memcoin --config /tmp/node3 minogrpc join --address 127.0.0.1:2001\ $(memcoin --config /tmp/node1 minogrpc token) # Create a chain with two members. memcoin --config /tmp/node1 ordering setup\ --member $(memcoin --config /tmp/node1 ordering export)\ --member $(memcoin --config /tmp/node2 ordering export) # Add the third after the chain is set up. memcoin --config /tmp/node1 ordering roster add\ --member $(memcoin --config /tmp/node3 ordering export)
Click to show internal directories.
Click to hide internal directories.