21 Commits

Author SHA1 Message Date
Jamie Lokier
83e5638212 Add option to connectToNetwork return without waiting for peers
The new sync code wants to start without waiting.  We can `discard` the async
result but there is no need for a background task polling and running a timer
for no clear benefit.

Signed-off-by: Jamie Lokier <jamie@shareable.org>
2021-08-10 14:09:57 +03:00
Kim De Mey
a8d11dd30b
Add top level push raises Defect to p2p code (#374) 2021-07-16 21:44:30 +02:00
kdeme
81f0a56ebd
Add/update bunch of license headers 2021-05-11 09:37:33 +02:00
kdeme
90b4724492
Adjust for chronosStrictException usage in rest of eth/p2p 2021-05-06 17:20:54 +02:00
Kim De Mey
762415319c
Add build_dcli target and add it to CI (#344)
* Add build_dcli target and add it to CI

* Fix local imports for dcli

* And use local imports for all other files too

* Use local imports in tests and rlpx protocols
2021-04-06 13:33:24 +02:00
jangko
dda2bec8aa turn networkId into distinct uint 2021-02-13 17:43:17 +07:00
Jacek Sieka
484fbcab1b
use bearssl rng throughout (#265)
* use bearssl rng throughout

* seeder can fail

* imports and exports

* modules, sigh

* one more try

* move var

* even fewer thread vars

* remove out-of-date genrated files
2020-07-07 10:56:26 +02:00
narimiran
ebabd6f76d more fixes 2020-06-24 22:20:50 +02:00
Jacek Sieka
0b110f3287
Secp more refactor (#211)
* simplify some modules

* mark several modules with raises
* fix clearing of keys in auth.nim
* fix keyfile case dropping off
* fix keyfile stream storage
* uuid should be output in lowercase

* enode: simplify API
2020-04-06 18:24:15 +02:00
kdeme
f0582a084c Quick implementation for multiple mail requests by using cursor 2019-12-12 17:35:30 +02:00
kdeme
680e52ec24 Do not start the peer pool loop when discovery is disabled 2019-11-08 13:42:15 +00:00
kdeme
0966a4e9ca
Adjust deprecated use of sleepAsync 2019-06-11 15:31:00 +02:00
kdeme
b44675eda5
Same error handling for rlpxAccept as for rlpxConnect 2019-06-11 14:38:02 +02:00
kdeme
f8bdec88c9
Rework duplicate connections check and fix #36 2019-06-11 12:46:26 +02:00
Yuriy Glukhov
55e1eff4a9
Merge pull request #39 from kdeme/bug/fix-transport-leaks-#37
Bug/fix transport leaks #37
2019-05-09 23:58:40 +08:00
Yuriy Glukhov
130d984d8b
Added randomPeers iterator with protocol filter 2019-05-09 19:05:31 +08:00
kdeme
b62d091963 Remove double transport close 2019-05-09 10:35:02 +02:00
Jacek Sieka
a69e52bf3e
bind to any address for listening (#20) 2019-03-19 12:15:16 -06:00
Ștefan Talpalaru
9146e8e2f0
assert() -> doAssert() 2019-03-13 23:15:26 +01:00
Mamy Ratsimbazafy
07cf801b97
Rebrand asyncdispatch2 to chronos (#2)
* Rebrand asyncdispatch2 to chronos

* fix nimble path to chronos
2019-02-06 17:01:04 +01:00
Yuriy Glukhov
e75a00f86e Moved eth-p2p to eth 2019-02-05 17:40:29 +02:00