mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-19 13:18:26 +02:00
Use new squeak protocol (#64)
* Use new squeak protocol with encryption/decryption key instead of data key hash. * Use from_bytes method for encrypted decryption key * Undo changes to use temporary local install of squeaklib
This commit is contained in:
parent
6fd4940a0a
commit
74817948cc
10 changed files with 75 additions and 47 deletions
5
init.sql
5
init.sql
|
|
@ -7,14 +7,15 @@ CREATE TABLE IF NOT EXISTS squeak (
|
|||
hashBlock CHAR(64) NOT NULL,
|
||||
nBlockHeight INTEGER NOT NULL,
|
||||
scriptPubKey VARCHAR(100) NOT NULL,
|
||||
hashDataKey CHAR(64) NOT NULL,
|
||||
encryptionKey CHAR(324) NOT NULL,
|
||||
encDatakey CHAR(256) NOT NULL,
|
||||
vchIv CHAR(32) NOT NULL,
|
||||
nTime INTEGER NOT NULL,
|
||||
nNonce BIGINT NOT NULL,
|
||||
encContent CHAR(2272) NOT NULL,
|
||||
scriptSig VARCHAR(400) NOT NULL,
|
||||
address VARCHAR(50) NOT NULL,
|
||||
vchDataKey CHAR(64),
|
||||
vchDecryptionKey VARCHAR(8000),
|
||||
content CHAR(1120)
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue