by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 21 2017 21:24
    @jpitts banned @Musk55
Felix Lange
@fjl
@DanielLipshitz_twitter no, it's another endpoint, it's not documented. I'll get back to you next week if you still need it.
jannikluhn
@jannikluhn
from the discv5 wire protocol spec: "The authentication header also contains [...] node A's node record if the local sequence number is higher than enr-seq.". I assume this refers to auth-response-pt = [id-nonce-sig, node-record]. What if the sequence number is up to date already? Does auth-response-pt become [id-nonce-sig] or [id-nonce-sig, ""] or something else?
Felix Lange
@fjl
Very good question
I have to clarify it in the spec
It's [id-nonce-sig, []] in Go right now
(I think)
Daniel Lipshitz
@DanielLipshitz_twitter
HI All - we using https://github.com/ethereumjs/ethereumjs-devp2p/blob/master/examples/peer-communication.js however when we sort for TX messages and compare to our Parity node - we seem to only get 50% of the TX which our parity node receives - possibly their is a setting we need to update - Thanks
Antoine Toulme
@atoulme
you might want to open an issue on the repo and document how to reproduce the behavior you are seeing.
Daniel Lipshitz
@DanielLipshitz_twitter
Thanks did that - it looks like we solved the issue by commenting out https://github.com/ethereumjs/ethereumjs-devp2p/blob/master/examples/peer-communication.js#L283 txCache limit
Daniel Lipshitz
@DanielLipshitz_twitter
Correction issue isnt solved - we create a list of trx received via pairty on the list for 10 seconds and compare to see if received from p2p - it still 50/50
Zelos
@Zelos39482837_twitter
hi
Gusțavo Frederic೦
@gcsfred_twitter
Hi. I'm studying the Yellow Paper and devp2p (ETH 1) for an academic lecture and I would appreciate some clarifications. Consider that a node at a given moment has a set of transactions and is trying to create a block by repeatedly trying finding a nonce and mix-hash from PoW. Meanwhile, this node receives a mined block from another node that includes some of the transactions that were in this 'working list'. Does the node remove these transactions from the 'working list'? Is this scenario in any documentation? -- Thanks
Nick Savers
@nicksavers
@gcsfred_twitter yes the node removes it from the working list. All transactions will need to be verified again to make sure the nonces are still correct. Otherwise they'd be making an invalid block. The yellowpaper doesn't describe how the miner would have to do this though.
Gusțavo Frederic೦
@gcsfred_twitter
@nicksavers Thanks for the answer. It makes sense to me. Much appreciated.
erchuan.ma
@jiyilanzhou
Hello everyone, we're recruiting evangelists, researchers, developers. You can use your free time to participate in. It's a cross chain payment project. The innovation of the project is the design of syner chain and interactive chain, hotstuff consensus, smart virtual machine based on wasm, on chain governance, a production chain framework. Here, you'll start this project from scratch, and let's change the world together。
You can join our channel to learn about project. https://gitter.im/marcopoloprotocols/community?utm_source=share-link&utm_medium=link&utm_campaign=share-link
Genysys
@Genysys
Does devp2p depends on any system clock parameters?
Tomasz Kajetan Stańczak
@tkstanczak
it does not
Genysys
@Genysys
Thanks for the answer… @tkstanczak which version of discovery do clients currently implement? Looking at this, it says infers that v4 depends on the system clock https://github.com/ethereum/devp2p/blob/master/discv5/discv5.md#comparison-with-node-discovery-v4
Tomasz Kajetan Stańczak
@tkstanczak
most of the clients us v4, geth is experimenting with v5
devo2
I was not considering discovery as a part of devp2p but maybe it is perceived /speced differently.
Frank Szendzielarz
@FrankSzendzielarz
Aye. V4 has an expiration field in some packets, which causes issues when clocks are skewed. There are a couple of flavours of v5 floating around, both experiments, the initial one in geth sources abandoned.
Metin Demir
@mdemir-bdt
Hi, I am looking for a way to communicate ethereum network nodes. Rather than using infura or setting up my own node Is it possible to use devp2p to send transactions.
Tomasz Kajetan Stańczak
@tkstanczak
it is possible but you would need at least a big chunk of the node code
so almost a node
Metin Demir
@mdemir-bdt
Thanks a lot. @tkstanczak
Is there any other way you may know?
Tomasz Kajetan Stańczak
@tkstanczak
You can ask a miner to type it in / there is not method which would not be a derivative of running or connecting to a node
*no method
Metin Demir
@mdemir-bdt
Okay man thanks :)
Antoine Toulme
@atoulme
you can use Apache Tuweni, we have a pluggable rlpx lib you can use. But it's java
Elliot Strain
@EGStrain
Hi, I am trying test the nightfall package by E&Y by performing a transaction and sniffing the network traffic to see if it will hide the details of the transaction.
I was wondering if someone could recommend reading materials to learn how analyse these packets / which protocols I should consider when performing this analysis.
Thanks
Genysys
@Genysys
Pegasys has a wireshark dissector for the discovery protocol you could give a spin
Elliot Strain
@EGStrain
Yeah Ive actually seen that already but am having problems with installing it due to unfamiliarity with cmake and ninja build
Im pretty sure I need to clone the repo and make some changes to wireshark and rebuild it using their instructions
Genysys
@Genysys
lol I never managed to build it either . You can still use wireshark to figure out which packages are what. The dissector just lables them and makes it easier to analyse
Elliot Strain
@EGStrain

Ill try to get it to work and if I get it to work, Ill create a tutorial / list of steps and maybe post it as an issue on the repo.

Thats interesting, I dont have a background in utilizing wireshark so I dont actually know how to use it yet. I will start looking into from now on. Thanks!

Emanuel Castillo
@emacaz
Hey guys
I got another doubt. Is there already some smartcontract which I can know the ethereum price in dollar? I mean, I want to pay a specific amount of dollars (i.e. US 500) in MEW, but I want that when I to go to pay it, The smartcontract says to the environment how many ethers should send that referee those US500.
Daniel van Flymen
@dvf
Hey friends, this may be an obscure question: I was curious about what the advantages are of using an XOR distance between peers. In DHTs like BitTorrent, the major advantage is that peers maintain an efficient routing table when searching the network for keys, but it's unclear why we'd need that search functionality for Ethereum. How would it differ to a heuristic of just storing random nodes ordered by liveness? Is there something I'm missing here?
Holger Drewes
@holgerd77

Hi guys, just wanted to drop that we have just released v3.0.0 of the EthereumJS devp2p library, this has now been completely rewritten in TypeScript and release also brings bootnodes and runtime dependencies up-to-date.

For everyone who might be interested in playing around with this. Feedback welcome!