Add btcd credentials to sqkserver config (#81)

* Add btcd credentials and rpc cert to sqkserver configs

* Start the squeak block verifier worker thread on startup

* Btcd request still failing because of cert

* Got btcd client working

* Use valid block hash and height in itest
This commit is contained in:
Jonathan Zernik 2020-07-18 17:19:43 -07:00 committed by GitHub
parent 824eabc418
commit 404772372f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 197 additions and 13 deletions

View file

@ -15,7 +15,8 @@ CREATE TABLE IF NOT EXISTS squeak (
encContent CHAR(2272) NOT NULL, -- Encrypted content length is always 1136 bytes (2272 hex characters).
vchScriptSig bytea NOT NULL,
address VARCHAR(35) NOT NULL, -- Maximum length of a bitcoin address is 35.
vchDecryptionKey bytea NOT NULL
vchDecryptionKey bytea NOT NULL,
block_header bytea
);
CREATE INDEX IF NOT EXISTS idx_squeak_address