Check signature for history keeper in a different process

This commit is contained in:
yflory
2020-03-17 13:29:53 +01:00
parent ab6ccfe1f6
commit 0d636dabc9
3 changed files with 81 additions and 13 deletions

View File

@@ -3,6 +3,7 @@
const Core = module.exports;
const Util = require("../common-util");
const escapeKeyCharacters = Util.escapeKeyCharacters;
const { fork } = require('child_process');
/* Use Nacl for checking signatures of messages */
const Nacl = require("tweetnacl/nacl-fast");