Comments (3)
I would take what @whyrusleeping pointed to us. This is a digest
dryajov [3:39 PM]
Yup, thats the idea - I’m going to start pocking around how to mount devp2p on libp2p… So we can have that agnostic way of discovering content over both networks.
whyrusleeping [3:39 PM] @dryajov you shouldnt mount devp2p on libp2p
[3:39] you want to just run both network stacks separately
[3:39] and have logic that ties between them
[3:39] a bridge, basically
dryajov [3:39 PM] ah, ok
[3:44] so I was thinking about this
> you would have to abstract the network layer down to concepts that the ethereum protocol can work with, then it just looks for ‘peers’
whyrusleeping [3:44 PM] yeah
dryajov [3:44 PM] write the necesary parts (not sure if mounting was the correct term there) so that we can connect both the libp2p and devp2p networks
whyrusleeping [3:45 PM] you basically have 'thing that is ethereum that does things with peers'
[3:45] then you have the 'network implementation that provides peers'
[3:45] the you abstract the concept of peers for both devp2p and libp2p
dryajov [3:45 PM] aha!
[3:47] yeah, so the way I see it - we need an “ethereum transport” for libp2p, the low level handshakes, etc… - which I think is your ‘thing that is ethereum that does things with peers’ (edited)
[3:48] actually, backwards that seems to be your - ‘network implementation that provides peers’
whyrusleeping [3:49 PM] noooo
dryajov [3:49 PM] ;(
whyrusleeping [3:49 PM] so like, ipfs right now is a thing that does things with peers
dryajov [3:49 PM] yup
whyrusleeping [3:50 PM] libp2p provides that
[3:50] devp2p could also provide that (with much pain and hackiness)
[3:50] we could also make a network stack that contains both libp2p and devp2p
[3:50] and if you call 'dial'
[3:51] it will decide which network is the right one to connect to
[3:51] and delegate the dial to either libp2p or devp2p
[3:51] thats a pretty involved way of making this work
dryajov [3:53 PM] so, are you saying that this would be more adhoc, if we know this is an ethereum hash, then just dial over the devp2p network
[3:54] I was thinking about something like that, but that integrates nicely into the libp2p stack…
from go-ipld-eth-import.
seems actually rlpx
is the transport/peer layer and devp2p
is some sort of wire (sub)protocol multiplexer
from go-ipld-eth-import.
This bridge (or "Hot importer", or whatevayawannacallit) will be followed here https://github.com/ipfs/go-ipld-eth-import/issues roadmap here MetaMask/eth-ipfs-browser-client#1 (comment)
from go-ipld-eth-import.
Related Issues (4)
- Roadmap: Cold Importer HOT 1
- Roadmap: Hot Importer HOT 2
- Roadmap Proposal HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-ipld-eth-import.