Skip to content

Commit ee73112

Browse files
authored
Merge pull request #367 from input-output-hk/sg/remove-upstream-chain-fetcher
feat: replace UpstreamChainFetcher with PeerNetworkInterface
2 parents 9bed98d + a7122d7 commit ee73112

File tree

20 files changed

+26
-938
lines changed

20 files changed

+26
-938
lines changed

Cargo.lock

Lines changed: 1 addition & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ members = [
1010
"modules/genesis_bootstrapper", # Genesis bootstrap UTXOs
1111
"modules/mithril_snapshot_fetcher", # Mithril snapshot fetcher
1212
"modules/snapshot_bootstrapper", # Bootstrap state from a ledger snapshot
13-
"modules/upstream_chain_fetcher", # Upstream chain fetcher
1413
"modules/peer_network_interface", # Multi-peer network interface
1514
"modules/block_unpacker", # Block to transaction unpacker
1615
"modules/tx_unpacker", # Tx to UTXO unpacker

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ graph TB
5454

5555
## Modules
5656

57-
- [Upstream Chain Fetcher](modules/upstream_chain_fetcher) -
57+
- [Peer Network Interface](modules/peer_network_interface) -
5858
implementation of the Node-to-Node (N2N) client-side (initiator)
5959
protocol, allowing chain synchronisation and block fetching
6060
- [Mithril Snapshot Fetcher](modules/mithril_snapshot_fetcher) -

modules/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This directory holds microservice modules for a Caryatid framework which
44
compose the Acropolis Architecture
55

6-
* [Upstream Chain Fetcher](upstream_chain_fetcher) -
6+
* [Peer Network Interface](peer_network_interface) -
77
implementation of the Node-to-Node (N2N) client-side (initiator)
88
protocol, allowing chain synchronisation and block fetching
99
* [Mithril Snapshot Fetcher](mithril_snapshot_fetcher) -

modules/block_unpacker/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ publish-topic = "cardano.txs"
2020
## Messages
2121

2222
The block unpacker subscribes for RawBlockMessages on
23-
`cardano.block.proposed` (see the [Upstream Chain
24-
Fetcher](../upstream_chain_fetcher) module for details). It unpacks
23+
`cardano.block.proposed` (see the [Consensus](../consensus) module for details). It unpacks
2524
this into transactions, which it publishes as a single RawTxsMessage
2625
on `cardano.txs`, containing the block information and an ordered vector of
2726
raw transaction CBOR. This ensure the transactions are kept in order.

modules/mithril_snapshot_fetcher/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ a startup event before beginning to allow the
99

1010
When it has finished it sends a snapshot complete event indicating the
1111
last block fetched, which is used by the
12-
[Upstream Chain Fetcher](../upstream_chain_fetcher) to synchronize ongoing
12+
[Peer Network Interface](../peer_network_interface) to synchronize ongoing
1313
fetches.
1414

1515
## Configuration

modules/upstream_chain_fetcher/Cargo.toml

Lines changed: 0 additions & 25 deletions
This file was deleted.

modules/upstream_chain_fetcher/NOTES.md

Lines changed: 0 additions & 40 deletions
This file was deleted.

modules/upstream_chain_fetcher/README.md

Lines changed: 0 additions & 113 deletions
This file was deleted.

0 commit comments

Comments
 (0)