[bisq-network/bisq] Add protection tools (#2787)

Christoph Atteneder notifications at github.com
Tue Apr 30 11:24:10 UTC 2019


ripcurlx commented on this pull request.



> +import lombok.extern.slf4j.Slf4j;
+
+// Supports signatures made from EC key (arbitrators) and signature created with DSA key.
+ at Slf4j
+ at Value
+public class SignedWitness implements LazyProcessedPayload, PersistableNetworkPayload, PersistableEnvelope,
+        DateTolerantPayload, CapabilityRequiringPayload {
+    private static final long TOLERANCE = TimeUnit.DAYS.toMillis(1);
+
+    private final boolean signedByArbitrator;
+    private final byte[] witnessHash;
+    private final byte[] signature;
+    private final byte[] signerPubKey;
+    private final byte[] witnessOwnerPubKey;
+    private final long date;
+    //TODO should we add trade amount?

Is the idea to add the trade amount to add this as a weight later on as well? Of course a 1000 USD trade might not be undetected compared to a 10 USD trade.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/2787#pullrequestreview-232115425
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190430/283d393f/attachment.html>


More information about the bisq-github mailing list