mirror of
https://github.com/codex-storage/nim-codex.git
synced 2025-02-17 23:36:33 +00:00
push changes
This commit is contained in:
parent
2f4bc85d58
commit
28593bed1d
@ -306,6 +306,7 @@ proc payForBlocks(engine: BlockExcEngine,
|
|||||||
|
|
||||||
if payment =? engine.wallet.pay(peer, price):
|
if payment =? engine.wallet.pay(peer, price):
|
||||||
trace "Sending payment for blocks", price
|
trace "Sending payment for blocks", price
|
||||||
|
# echo "sendPayment"
|
||||||
await sendPayment(peer.id, payment)
|
await sendPayment(peer.id, payment)
|
||||||
|
|
||||||
proc validateBlockDelivery(
|
proc validateBlockDelivery(
|
||||||
|
@ -17,6 +17,8 @@ import pkg/codex/discovery
|
|||||||
import pkg/codex/blocktype
|
import pkg/codex/blocktype
|
||||||
import pkg/codex/utils/asyncheapqueue
|
import pkg/codex/utils/asyncheapqueue
|
||||||
|
|
||||||
|
when defined(chronosFuturesInstrumentation):
|
||||||
|
import pkg/codex/utils/asyncprofiler
|
||||||
import ../../helpers
|
import ../../helpers
|
||||||
import ../../examples
|
import ../../examples
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user