mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-14 11:23:10 +00:00
testing in progress
This commit is contained in:
parent
9d1471ce05
commit
4048daa64b
@ -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
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user