MCPcopy Create free account
hub / github.com/cruzbit/cruzbit / Add

Method Add

block_queue.go:38–59  ·  view source on GitHub ↗

Add adds the block ID to the back of the queue and records the address of the peer who pushed it if it didn't exist in the queue. If it did exist and maxQueueWait has elapsed, the block is left in its position but the peer responsible for download is updated.

(id BlockID, who string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected