improve and make nip77 api nicer so it could be better used in nak.
This commit is contained in:
@@ -43,7 +43,7 @@ var neg = &cli.Command{
|
||||
|
||||
// create negentropy object and initialize it with events
|
||||
vec := vector.New()
|
||||
neg := negentropy.New(vec, frameSizeLimit)
|
||||
neg := negentropy.New(vec, frameSizeLimit, true, true)
|
||||
for evt := range db.QueryEvents(filter, math.MaxInt) {
|
||||
vec.Insert(evt.CreatedAt, evt.ID)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user