mirror of
https://github.com/status-im/status-go.git
synced 2025-01-11 07:07:24 +00:00
15 lines
327 B
Go
15 lines
327 B
Go
|
package request_strategy
|
||
|
|
||
|
import (
|
||
|
"github.com/RoaringBitmap/roaring"
|
||
|
)
|
||
|
|
||
|
type PeerRequestState struct {
|
||
|
Interested bool
|
||
|
// Expecting. TODO: This should be ordered so webseed requesters initiate in the same order they
|
||
|
// were assigned.
|
||
|
Requests roaring.Bitmap
|
||
|
// Cancelled and waiting response
|
||
|
Cancelled roaring.Bitmap
|
||
|
}
|