Commit Graph

120 Commits

Author SHA1 Message Date
Jaremy Creechley ff18bf6fc3
restore names 2023-07-11 17:53:01 -07:00
Jaremy Creechley 31413856f6
Revert "caching"
This reverts commit ef68f13938.
2023-07-11 17:50:44 -07:00
Jaremy Creechley f9c98e7de7
caching - change names 2023-07-11 17:44:54 -07:00
Jaremy Creechley ef68f13938
caching 2023-07-11 17:40:26 -07:00
Jaremy Creechley ff5853780c
caching 2023-07-11 17:39:48 -07:00
Jaremy Creechley a3d050fc18
caching 2023-07-11 17:37:34 -07:00
Jaremy Creechley 4a241ffa8c
don't use update (?) target 2023-07-11 17:24:57 -07:00
Jaremy Creechley 3fd3008a82
updates 2023-07-11 17:22:17 -07:00
Jaremy Creechley 59d45be045
add nim setup 2023-07-11 17:15:42 -07:00
Jaremy Creechley 6fadf32ee8
tweaks 2023-07-11 17:08:27 -07:00
Jaremy Creechley 992cf83e3d
fake change to test ci-nimbus 2023-07-11 16:41:29 -07:00
Jaremy Creechley 8fdf907811
fake change to test ci 2023-07-11 16:29:27 -07:00
Jaremy Creechley 32cbb41a92
only run ci-nimbus on lockfile change 2023-07-11 16:28:04 -07:00
Jaremy Creechley 6cda13db5d
disable ci-nimbus 2023-07-11 16:21:48 -07:00
Jaremy Creechley 3f552af2ce
disable ci-nimbus 2023-07-11 16:16:54 -07:00
Jaremy Creechley 5e5851c1e2
clone nimbus vendor using atlas 2023-07-11 16:07:00 -07:00
Jaremy Creechley 58f91c48c0
add nat traversal to make nimbus happy 2023-07-11 15:59:27 -07:00
Jaremy Creechley 169e1d76e5
updates 2023-07-11 15:48:47 -07:00
Jaremy Creechley bd72bc1e60
add nimbus build 2023-07-11 15:24:54 -07:00
Jaremy Creechley b6a227f189
import nimbus build tools 2023-07-11 15:19:45 -07:00
Jaremy Creechley 95aa358ef3
Merge pull request #66 from codex-storage/add-nimble-locks
Add nimble locks
2023-07-11 14:57:55 -07:00
Ivan Yonchovski 873a04acb7 WIP 2023-07-11 16:03:21 +03:00
Ivan Yonchovski 85fc42cf5e WIP 2023-07-11 15:46:41 +03:00
Jaremy Creechley 41ac46d3bb
fix requires 2023-07-10 17:49:39 -07:00
Jaremy Creechley 64a3953d3e
fix nimble 2023-07-10 17:42:26 -07:00
Jaremy Creechley 7bba539cc2
revert change 2023-07-10 13:58:44 -07:00
Jaremy Creechley a1b5a67044
fix os version 2023-07-10 13:55:27 -07:00
Jaremy Creechley 7bc5c880a9
try macos-13 version 2023-07-10 13:53:00 -07:00
Jaremy Creechley a1f57ae605
bump macos version 2023-07-10 13:25:46 -07:00
Jaremy Creechley ef9fc79ec7
bump version 2023-07-10 12:19:11 -07:00
Jaremy Creechley 6e3179d372
add missing constructor 2023-07-10 12:01:37 -07:00
Ivan Yonchovski 877b8d8b45 Migrate to nimble lock files
- changed the CI to use prebuild nimble binary and to use lock file.
- the nim version is determined by the lock file
- there were some packages that have version range but at the same time
corresponding versions were not tagged at the repo. I have hardcoded the version
of the package commit. Later when the version is tagged in the source repo the
version range can be returned.
2023-07-10 15:50:06 +03: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 c480fb5732.
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