Dmitriy Ryajov
64133fc66e
wip
2023-06-26 19:36:35 -06:00
Dmitriy Ryajov
1753790bfa
wip
2023-06-26 19:32:40 -06:00
Dmitriy Ryajov
de1e22d976
wip
2023-06-26 19:31:29 -06:00
Dmitriy Ryajov
f66b9c28b5
wip
2023-06-26 19:30:43 -06:00
Dmitriy Ryajov
6a3fc4aee6
wip
2023-06-26 18:43:22 -06:00
Dmitriy Ryajov
056a3decaa
wip
2023-06-26 18:29:40 -06:00
Dmitriy Ryajov
c79bdb8a43
wip
2023-06-26 18:27:49 -06:00
Dmitriy Ryajov
bc06d7ef6d
use correct var name
2023-06-26 18:26:49 -06:00
Dmitriy Ryajov
e66e838271
align yaml
2023-06-26 18:24:18 -06:00
Dmitriy Ryajov
5d62adf792
use correct version var
2023-06-26 18:21:52 -06:00
Dmitriy Ryajov
6c979a6b0a
avoid building nim twice
2023-06-26 18:20:32 -06:00
Dmitriy Ryajov
66ed2a05f7
wip
2023-06-26 17:55:15 -06:00
Dmitriy Ryajov
226739905e
update config for nimbus build system
2023-06-26 17:43:57 -06:00
Dmitriy Ryajov
9a35af7d03
remove nim 1.2
2023-06-26 17:43:57 -06:00
Dmitriy Ryajov
5fb792197a
adding dependencies
2023-06-26 17:43:40 -06:00
Dmitriy Ryajov
c67d795148
adding nimbus build system
2023-06-26 13:47:03 -06:00
Dmitriy Ryajov
31106ae092
renaming project files for consistency
2023-06-26 13:37:25 -06:00
Csaba Kiraly
751e93587a
Update README.md
2023-06-23 10:30:32 +02:00
Ben Bierens
bd517f0e8d
Additional trace logging and code cleanup ( #61 )
...
* Adds bunch of traces
* Adds a lot more traces
* more traces
* adds prints to resolve tree
* Cleanup of trace log messages
* Restore some log messages
2023-06-09 10:32:59 +02:00
Ben Bierens
348cb0f1ad
Revalidate loop fix ( #60 )
...
* Sets lower limit in revalidation loop timeout.
* Moves up RevalidateMin
2023-06-09 10:32:45 +02:00
Dmitriy Ryajov
4375b92298
use datastore has
( #56 )
2022-12-02 16:47:16 -06:00
Dmitriy Ryajov
e4e7a3e11f
track nim-libp2p's unstable branch and nim-bearssl's master branch ( #51 )
...
* track nim-libp2p's unstable branch and nim-bearssl's master branch
refactor accordingly: mainly switching from `import bearssl` to
`import bearssl/rand`, `BrHmacDrbgContext` to `HmacDrbgContext`, and related
changes
* fix ambiguous identifier
* nim 1.4 is deprecated
Co-authored-by: Michael Bradley, Jr <michaelsbradleyjr@gmail.com>
2022-11-02 10:21:05 -06:00
Dmitriy Ryajov
d6d255b4b5
Cleanups ( #55 )
...
* limit query to batchSize
* allow initializing node from ip and port
* misc cleanups
2022-10-31 22:41:33 -06:00
Dmitriy Ryajov
08928e57d8
Remove local providers ( #53 )
...
* refactor to use batch deletes
* add ability to remove local providers
2022-10-03 15:14:47 -06:00
Dmitriy Ryajov
4b9fa0356e
Adding maintenance routines to cleanup expired and orphaned records ( #52 )
...
* add maintenance routines and split out cache
* start provider manager
* export provider manager
* add maintenance tests
* start is now async
2022-10-01 10:05:03 -06:00
Dmitriy Ryajov
69ae7c2012
Persist providers ( #49 )
...
* initial providers manager implementation
* misc license update
* spelling
* rename provider tests
* add provider tests
* reexport provider manager
* only update provider record if it changed
* small bug in getProvByKey
* pass providers to both constructors
* fix records retrieval
* disable cache during tests
* avoid redefining data
* adding back tests with cache
* use `.errorOption`
* proper err msg unpacking
2022-09-29 17:49:55 -06:00
Dmitriy Ryajov
bbcfb9f17b
Merge pull request #50 from status-im/revert-47-nim-libp2p-unstable
...
Revert "track nim-libp2p's unstable branch and nim-bearssl's master branch"
2022-09-23 18:18:48 -04:00
Dmitriy Ryajov
9dfa86767d
Revert "track nim-libp2p's unstable branch and nim-bearssl's master branch"
...
This reverts commit c480fb573242ab13fab57446aeece90eaabbe104.
2022-09-23 15:59:31 -06:00
Michael Bradley, Jr
c480fb5732
track nim-libp2p's unstable branch and nim-bearssl's master branch
...
refactor accordingly: mainly switching from `import bearssl` to
`import bearssl/rand`, `BrHmacDrbgContext` to `HmacDrbgContext`, and related
changes
2022-09-19 20:05:34 -05:00
Dmitriy Ryajov
39c0ffc970
Merge pull request #46 from status-im/chronicles-format
...
add formating for SignedPeerRecord
2022-09-13 14:26:02 -04:00
Dmitriy Ryajov
7c259731a4
add formating for SignedPeerRecord
...
needs to move to libp2
2022-09-13 12:01:36 -06:00
Dmitriy Ryajov
94b75f141c
Merge pull request #44 from status-im/providers-lru
...
Providers lru
2022-09-12 23:34:02 -04:00
Dmitriy Ryajov
f5afe784c5
prevent npe when table is 0
2022-09-12 21:08:55 -06:00
Dmitriy Ryajov
f84bc647ce
don't touch the cache when checking for id
2022-09-12 21:08:26 -06:00
Dmitriy Ryajov
23e20a2f1c
bad merge
2022-09-12 18:41:44 -06:00
Dmitriy Ryajov
fca255b2f7
use pure
enums
2022-09-12 18:06:48 -06:00
Dmitriy Ryajov
c646b9c2b9
providers LRU - avoid unchecked growth
2022-09-12 18:06:46 -06:00
Dmitriy Ryajov
e801660b44
Merge pull request #38 from status-im/fixes-for-integration
...
Fixes for dagger integration
2022-09-12 19:44:28 -04:00
Dmitriy Ryajov
3be2c8445c
suppress logging noise
2022-09-12 17:13:34 -06:00
Dmitriy Ryajov
1cbe8c12a6
suppress logging noise
2022-09-12 17:13:34 -06:00
Dmitriy Ryajov
2d93fa9e69
fix updateRecord
...
- support incrementing seqNo
- support updating with new record
2022-09-12 17:13:34 -06:00
Tanguy
d90f0a03b9
Fixes for json logs
2022-09-12 17:13:33 -06:00
Tanguy
bde7a26f9d
Fixes for integration
2022-09-12 17:13:33 -06:00
Dmitriy Ryajov
e8177aa7eb
Merge pull request #39 from yyoncho/main
...
Add setup files
2022-09-12 14:29:47 -04:00
Ivan Yonchovski
36a49cdac4
Add setup files
2022-07-12 15:45:53 +03:00
Tanguy
f824c0a3cd
Remove nim-eth dependency ( #37 )
2022-04-08 12:13:14 +02:00
Michael Bradley, Jr
faf5cad9d4
protobuf encoding for all message types
2022-04-07 14:47:35 -05:00
Eric Mastro
4c65f4bd94
chore: remove nim-eth/keys in favour of over to libp2p/crypto
...
Closes : #2 .
Libp2p supports multiple cryptographic curves, however we have currently only implented support for secp256k1.
This needs to be run with the compiler flag `libp2p_pki_schemes` set to `secp256k1`. If running the tests, this can be run like so: `nimble test —libp2p_pki_schemes=secp256k1` to put secp as the first supported crypto scheme.
2022-04-07 14:11:48 -05:00
Csaba Kiraly
74b73bfda0
Merge pull request #25 from status-im/add-findnode-by-id
...
Add back traditional findnode by target ID
2022-03-25 10:50:16 +01:00
Csaba Kiraly
667a8b91a4
test lookup with traditional findNode as well
2022-03-22 15:46:19 +01:00