Comparing version 6.0.21 to 6.0.22
@@ -398,3 +398,12 @@ const BufferMap = require('tiny-buffer-map') | ||
shouldAckNode (target, writer) { | ||
shouldAck (writer) { | ||
for (const t of this._indexerTails()) { | ||
if (t.writer === writer) continue | ||
if (this._shouldAckNode(t, writer)) return true | ||
} | ||
return false | ||
} | ||
_shouldAckNode (target, writer) { | ||
const head = writer.head() | ||
@@ -401,0 +410,0 @@ const next = target.clock.get(writer.core.key) |
@@ -196,5 +196,3 @@ const b4a = require('b4a') | ||
for (const tail of this.tails) { | ||
if (this.consensus.shouldAckNode(tail, writer)) return true | ||
} | ||
if (this.consensus.shouldAck(writer)) return true | ||
@@ -201,0 +199,0 @@ return this._shouldAckHeads(writer, pending) |
{ | ||
"name": "autobase", | ||
"version": "6.0.21", | ||
"version": "6.0.22", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
172798
4642