4 ms·
Neat. I contemplated writing something like that, only without the "import rlp" cheat. Basically, there were a lot of blind spots in the official documentation
by Artlav 9y ago
Neat. I contemplated writing something like that, only without the "import rlp" cheat.
Basically, there were a lot of blind spots in the official documentation and it took me a while to figure out things like how to make a proper key recovery id or which endianness to use where in the messages.
How far have you been able to get to? I still can't quite wedge into the mainnet - the nodes keep disconnecting me for unknown reasons some time after, and finding a new node to connect to takes a while.
My node does works rather well on the ropsten testnet, however.
- mjfl 9y ago> the "import rlp" cheat. Ah, I knew someone was going to get me on that. They actually give you the encode function in the specification. It's pretty straightforward and if I was to write it, would end up the same, so I decided to just import the library. But I agree it does go against the "from scratch" title a little bit. > there were a lot of blind spots in the official documentation Totally agree. > How far have you been able to get to? I'm actually trying to get the mainnet nodes to talk to me as well.