17 Commits

Author SHA1 Message Date
Franck Royer
d0dea3884b
Replace Base 64 buggy conversion functions with uint8arrays 2022-03-25 11:02:40 +11:00
Franck R
c806135810
Revert "Use BigInt constructor instead of happening n as it seems to have better browser support. (#611)" (#613)
This reverts commit f4e81dd29ce6a0c98a9c10d7a8bf3e6a3f17b0a0.
2022-03-13 20:33:47 +11:00
Franck R
f4e81dd29c
Use BigInt constructor instead of happening n as it seems to have better browser support. (#611) 2022-03-13 10:11:04 +11:00
Franck Royer
f73afc5244
Handle errors thrown when converting to utf-8 2022-03-01 16:58:15 +11:00
Franck R
64657a250f
Replace rlp with ethers' rlp (#526) 2022-02-16 14:08:48 +11:00
Franck R
297d65ce03
Reduce Buffer usage in ENR module (#522) 2022-02-16 12:11:54 +11:00
Franck R
cfc5eee4ff
Reduce buffer usage (#521) 2022-02-14 10:50:02 +11:00
Franck R
4c80f7f0df
Remove odd prettier config (#500) 2022-02-04 14:12:00 +11:00
Franck R
6cb2b6615b
Update to latest typescript (#438) 2022-01-27 15:25:17 +11:00
Franck R
c31972de02
Reorganize tests to ensure they all display under a section (#421) 2022-01-24 11:00:41 +11:00
Franck R
e1629b1a96
Fix DNS Discovery (#411) 2022-01-17 14:21:23 +11:00
Franck Royer
b65ab17cb9
Expose types to ensure documentation is complete 2022-01-13 16:40:11 +11:00
Franck Royer
6276b1537f
Remove unnecessary declaration of Buffer
It's handled by the polyfill config in webpack.
2022-01-13 16:40:10 +11:00
Franck Royer
e47335f4c0
Implement DNS Discovery and ENR tree 2022-01-13 15:38:22 +11:00
Franck
7a3e46a384
Add encoded value for reference for other implementations 2021-12-07 09:16:32 +11:00
Franck
eb1b384be4
Remove console.log 2021-12-06 14:32:18 +11:00
F
01c66f7e89
Add ENR with multiaddr
Imported from https://github.com/D4nte/discv5/pull/1
Replaced bcrypto backend with secp256k1.
2021-12-06 14:29:08 +11:00