testing in progress

This commit is contained in:
benbierens 2025-01-06 14:17:17 +01:00
parent 9d1471ce05
commit 4048daa64b
No known key found for this signature in database
GPG Key ID: 877D2C2E09A22F3A
3 changed files with 4 additions and 3 deletions

View File

@ -433,7 +433,7 @@ proc wantListHandler*(
address: e.address,
`type`: BlockPresenceType.DontHave,
price: price))
elif have:
elif have: # and not e.cancel: # Uncomment this for slow mode.
# Important todo: This presence can be added in response to a cancel message.
# This is ignored by the receiving peer. But not doing so degrades performance.
# See: https://github.com/codex-storage/nim-codex/pull/1019#issuecomment-2525089803

View File

@ -53,6 +53,7 @@ proc getWantHandle*(
try:
if address notin p.blocks:
trace "BlockRequest created", address
p.blocks[address] = BlockReq(
handle: newFuture[Block]("pendingBlocks.getWantHandle"),
inFlight: inFlight,

View File

@ -1,2 +1,2 @@
docker build --build-arg MAKE_PARALLEL=4 --build-arg NIMFLAGS="-d:disableMarchNative -d:codex_enable_api_debug_peers=true -d:codex_enable_proof_failures=true -d:codex_use_hardhat=false -d:codex_enable_log_counter=true -d:verify_circuit=true" --build-arg NAT_IP_AUTO=true -t thatbenbierens/nim-codex:blkex-cancelpresence-13 -f codex.Dockerfile ..
docker push thatbenbierens/nim-codex:blkex-cancelpresence-13
docker build --build-arg MAKE_PARALLEL=4 --build-arg NIMFLAGS="-d:disableMarchNative -d:codex_enable_api_debug_peers=true -d:codex_enable_proof_failures=true -d:codex_use_hardhat=false -d:codex_enable_log_counter=true -d:verify_circuit=true" --build-arg NAT_IP_AUTO=true -t thatbenbierens/nim-codex:blkex-cancelpresence-15 -f codex.Dockerfile ..
docker push thatbenbierens/nim-codex:blkex-cancelpresence-15