status-im / status-protocol-go

Status Protocol implementation in Go
Mozilla Public License 2.0
0 stars 1 forks source link

Prepare API for alternative ETH node implementations #84

Closed pedropombeiro closed 5 years ago

pedropombeiro commented 5 years ago

Currently, there are areas in the code that leak Geth types, making it impossible to have status-protocol-go work with e.g. Nimbus.

Issues

Implementation

To fix that we need to create interfaces/wrappers for:

Next steps

cc @adambabik @cammellos

pedropombeiro commented 5 years ago

@cammellos / @adambabik status-console-client seems quite out of date (master is 2 months old). There is an upgrade-status-protocol-go but that one also points to a non-existing status-protocol-go commit.

pedropombeiro commented 5 years ago

OK, I've updated it to the latest status-protocol-go and pushed it to a branch

adambabik commented 5 years ago

Yeah, NewMessenger is called from anything that wants to use status-protocol-go. Generally, any public interface changes in the main package of status-protocol-go can potentially break something at this point.