-
Notifications
You must be signed in to change notification settings - Fork 13
Description
UPDATE
Teranode will not accept transactions via libp2p but rather a propagator will accept transactions via HTTP. This means ARC should switch to using these Teranode endpoints to push transactions to the network. The api is simple: EF only, binary octet stream.
SO the new pattern is:
- Submit txs via http
- listen on libp2p for subtree announcement (then update status to "in-subtree")
- listen on libp2p for block announcement (update to MINED and send a callback merklepath)
Summary
Adapt Metamorph to broadcast to and listen on libp2p network of Teranodes rather than via wire protocol to SV Nodes.
Motivation
SV Nodes will be replaced with Teranodes eventually. For now there is a bridge but long term we need to be able to use the Libp2p network, assuming this continues in the period prior to IPv6 multicast adoption which still has some ISP related support hurdles.
Description
This will require coordination with Teranode team because my understanding is that there is a private DHT between instances today, although long term this will be public. Worth noting that ARC is somewhat of a testing ground for this, it's possible that some applicationsmay choose to use the libp2p code to broadcast transactions to Teranodes directly. The benefit of starting here is we can likely test things out within the private DHT prior to publication.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status