Michael Bradley, Jr
f96f120d96
[wip] defensively copy stream data, even when it almost certainly shouldn't be necessary
2021-12-16 16:38:14 -06:00
Michael Bradley, Jr
47bc7f2359
[wip] fix indentation
2021-12-16 16:38:11 -06:00
Michael Bradley, Jr
742e6297eb
[wip] check if task_runner_streams can build/run on Windows in dagger's GHA setup
2021-12-16 16:38:07 -06:00
Michael Bradley, Jr
1d94fc3b85
[wip] restore scheduled stop
2021-12-16 16:38:04 -06:00
Michael Bradley, Jr
fc55073147
[wip] remove unnecessary import from dagger.nimble
2021-12-16 16:38:01 -06:00
Michael Bradley, Jr
113840c795
[wip] don't need chronos_preferred when using nimbus-build-system
2021-12-16 16:37:57 -06:00
Michael Bradley, Jr
c01986c7a5
[wip] rename the experiment to task_runner_streams
2021-12-16 16:37:53 -06:00
Michael Bradley, Jr
8ea2a9429a
[wip] compile in build dir
2021-12-16 16:37:49 -06:00
Michael Bradley, Jr
15b4694655
[wip] add submodule vendor/nim-http-utils
2021-12-16 16:37:45 -06:00
Michael Bradley, Jr
20c2d269f1
[wip] remove no longer relevant/desirable changes relative to current main branch
2021-12-16 16:37:40 -06:00
Michael Bradley, Jr
0bf30b9536
[wip] add submodule vendor/nim-task-runner
2021-12-16 16:37:36 -06:00
Michael Bradley, Jr
839aa46515
[wip] switch vendor/nim-chronos to michaelsbradeyjr fork
2021-12-16 16:37:31 -06:00
Michael Bradley, Jr
7c9eb27c5c
[wip] stream writes to threads in task_runner threadpool
...
It works but there are some strange behaviors that need be sorted out
2021-12-16 16:37:26 -06:00
Michael Bradley, Jr
9a74326211
[wip] simple working experiment using a task_runner task in combo with async pipe/stream
2021-12-16 16:37:22 -06:00
Michael Bradley, Jr
797ea84c9f
[wip] try multiple versions of Nim in GHA CI
2021-12-16 16:37:18 -06:00
Michael Bradley, Jr
8d0f6b980d
[wip] calculate path to preferred chronos pkg in a cross-platform manner
2021-12-16 16:37:14 -06:00
Michael Bradley, Jr
9f0b0fa994
[wip] try adding localstore step to GHA ci.yml
2021-12-16 16:37:10 -06:00
Michael Bradley, Jr
4e0af6c5f9
[wip] add `task localstore` to dagger.nimble
2021-12-16 16:37:04 -06:00
Michael Bradley, Jr
65ddb5741b
[wip] add experiments/localstore.nim (stub atm)
2021-12-16 16:37:00 -06:00
Michael Bradley, Jr
79ed1380bd
[wip] add nim-task-runner dependency
2021-12-16 16:36:55 -06:00
Michael Bradley, Jr
ab2f5ef890
[wip] try Nim v1.4.8 in GHA ci
2021-12-16 16:36:43 -06:00
Michael Bradley, Jr
ef7bb2f49f
add env.sh shim to project root
...
`env.sh` is copied verbatim from:
https://github.com/status-im/nimbus-build-system#envsh
2021-12-16 16:35:44 -06:00
Dmitriy Ryajov
0f7f5237ad
readding gitignore rules
2021-11-25 09:37:12 +01:00
Dmitriy Ryajov
1663c1d71d
don't run win i386 tests
2021-11-25 09:37:12 +01:00
Dmitriy Ryajov
aa5260df73
update binaries cache
2021-11-25 09:37:12 +01:00
Dmitriy Ryajov
879a76fa41
make test
2021-11-25 09:37:12 +01:00
Dmitriy Ryajov
4d136a2e4c
make ci use new build system
2021-11-25 09:37:12 +01:00
Dmitriy Ryajov
ff498f4280
wip
2021-11-25 09:37:12 +01:00
Dmitriy Ryajov
eb8ee2dcdf
adding gitignore
2021-11-25 09:37:12 +01:00
Dmitriy Ryajov
2c460c575f
adding submodules
2021-11-25 09:37:12 +01:00
Dmitriy Ryajov
4c2344cbd9
wip
2021-11-25 09:37:12 +01:00
Dmitriy Ryajov
8522f516df
remove unused file
2021-11-25 09:37:12 +01:00
Dmitriy Ryajov
623cfe2e02
adding nimbus build system
2021-11-25 09:37:12 +01:00
Mark Spanbroek
90a6131d7d
Fix occasional test failure due to timeout
2021-11-16 16:51:40 +01:00
Mark Spanbroek
13f88096ef
Disable ObservableStores warning
...
Rationale: In Nim 1.2.x this warning was triggered
too easily, this was fixed in Nim 1.4.x. Because
1.2.x is still used, we disable this warning to ensure
that the long list of ObservableStores warnings does not
obfuscates other warnings.
2021-11-16 16:51:24 +01:00
Mark Spanbroek
ef5fa96c7d
Fix unused import warnings
2021-11-16 16:51:24 +01:00
Mark Spanbroek
536b2eaad5
Disable LockLevel warnings
...
Rationale: we don't use this experimental Nim feature,
and its warnings obfuscate other warnings that may
be relevant.
2021-11-16 16:51:24 +01:00
Dmitriy Ryajov
ce66e43440
fix compilation issues with latest libp2p ( #27 )
...
* fix compilation issues with latest libp2p
* change package description
* fix CI compiler
* try with nim 1.4.2
* try with 1.4.2
* use more standardized ci config
* set reasonable log level
* remove nim version dependency
* reverting to 1.4.6 as otherwise it fails on amd64
2021-10-29 13:30:52 -06:00
Dmitriy Ryajov
2fb39ca4a3
Rename bitswap ( #25 )
...
* use PeerInfo in event handlers
* use CidV1 and raw multicodec as default
* add block stream abstraction
* raises defect
* adding dataset abstraction
* move blockstream into own dir
* reorg files and fix tests
* rename dataset to blockset
* wip
* wip
* adding basic test for treehash algo
* run blockset tests along with with the rest
* remove obsolete contents
* fix chunker tests
* rename bitswap and move to stores
* rename bitwsap to blockexc and move to stores
* moare project structure reorg
2021-08-30 13:25:20 -06:00
Mark Spanbroek
b049e54d9e
Update CI script
...
Copied from lib-p2p master; fixes error with windows dependencies.
2021-06-07 13:21:34 +02:00
Mark Spanbroek
6bd4260911
Replace pricing exchange by account exchange
...
Rationale: price is no longer set per peer, but per chunk.
Only the Ethereum accounts of the peers needs to be exchanged.
2021-06-07 09:50:17 +02:00
Mark Spanbroek
d4dd15734e
Remove double bookkeeping in peerHave and peerPrices
2021-06-07 09:50:17 +02:00
Mark Spanbroek
e3b68f96d8
Remove debt ratio
...
Rationale: selecting peers based on debt ratio in bytes
is no longer needed when the bandwidth for each chunk is
compensated.
2021-06-07 09:50:17 +02:00
Mark Spanbroek
fa05bffeac
Pay per-block price instead of per-peer price
2021-06-07 09:50:17 +02:00
Mark Spanbroek
f69827d582
Send block prices
2021-06-07 09:50:17 +02:00
Mark Spanbroek
98d8571ceb
Simplify
2021-06-07 09:50:17 +02:00
Mark Spanbroek
0a28338136
Simplify test
2021-06-07 09:50:17 +02:00
Mark Spanbroek
c57ecde046
Update to version 0.9.1 of questionable
2021-06-07 09:50:17 +02:00
Mark Spanbroek
0e34b69d7d
Add block prices to peer context
2021-06-07 09:50:17 +02:00
Mark Spanbroek
0ac876dbc3
Add pricing to block presence messages
2021-06-07 09:50:17 +02:00