mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-05-23 15:26:42 +00:00

* [NOD-1511] Implement missingBlockBodyHashes * [NOD-1511] Rename selectedparentiterator.go to blockiterator.go * [NOD-1511] Fix condition * [NOD-1511] Simplify missingBlocks logic
10 lines
233 B
Go
10 lines
233 B
Go
package model
|
|
|
|
import "github.com/kaspanet/kaspad/domain/consensus/model/externalapi"
|
|
|
|
// BlockIterator is an iterator over blocks according to some order.
|
|
type BlockIterator interface {
|
|
Next() bool
|
|
Get() *externalapi.DomainHash
|
|
}
|