Apply rustfmt to recent changes
Merge pull request #120 from input-output-hk/network-protocol-update
Rework the network protocol in documentation
doc: Updated the sync algo pseudocode, fixed indentation
Removed the old protobuf files
The gRPC implementation now uses the definitions in the network-proto
directory of cardano-deps.
Refer to the protobuf definitions in rust-cardano
After jormungandr update is completed, those will be the source of truth
for the gRPC protocol.
doc: Redesign p2p announcement and propagation
Instead of pushing or proposing blocks and transactions to peers,
announce the new entities with minimal information necessary to fetch
them as needed, that is, the block and transaction IDs.
Redesign block retrieval and random access of the chain
GetChainHashes, renamed from GetHashes is left as the only method
for walking back the chain with random offsets. The blocks and headers
can be retrieved with simpler methods GetBlocks andGetHeaders,
both accepting a sequence of hashes.
docs: Renamed StreamBlocksToTip -> PullBlocksToTip
Following the renaming done in the protobuf definitions.
Fix a typo in rust algorithm example
Update cardano-deps to get redesigned chain iterators
Add integration tests tools for CircleCI
Purged unused macro_use directives
Removed an unused variable
Log failures of storing incoming blocks
clone the public key of the node
clone the genesis data before the Blocjchain::new
update the Clone on the Update objects
require Clone on the Update objects in the chain processor
need the Clone trait on the Update objects in chain
Fix compiler warnings
Fixed various borrowing and mutability errors
Make types public where necessary
Update cardano-deps and fix errors in network
Update cardano-deps, fix errors in network::grpc::server
network: Convert client task errors into service errors
blockcfg::genesis_data: Add a proper error type