Commit graph

9 commits

Author SHA1 Message Date
Jonathan Zernik
afd3af091a
Use default peer port config when port not specified (#2218) 2022-05-24 21:41:56 -07:00
Jonathan Zernik
51f412d75f
Update squeaklib to support private messages (#1897)
* Update squeaklib and update import from keys module

* Rename signing key variable to private key in test util

* Fix calling make squeak function

* Update db data file to v3

* Add recipient public key column to squeak table

* Got squeak entry db query working with alias for profiles table

* Add test for make squeak with recipient

* Add test case for get profile from squeak entry query

* Got outer join with recipient profile working

* Use outer join to get recipient profile for all squeak entry db queries
2021-12-27 00:56:31 -08:00
Jonathan Zernik
5198467889
Use new squeak protocol with schnorr and pubkey as identifier (#1870)
* Got all tests in core dir passing

* Got all tests in db dir passing

* Got tests for admin dir passing

* Got all unit tests passing

* Added migration for squeak table and profile table using new pubkey

* Re-start db migrations with new data-v2.db file

* Fix column type for profile public key

* Got all itests passing

* Log the public key in hex in create contact profile handle fn

* Rename rpc methods to use pubkey instead of address

* Got frontend mostly working with new profile pubkey

* Update frontend to use pubkey instead of address

* Change size of squeak profile detail item

* Update create contact profile dialog to use pubkey

* Update twitter account item to use pubkey

* Include label for pubkey in profile detail item

* Decrease size of profile detail item

* Update frontend build

* Improve logging of requests in handler
2021-12-20 09:28:38 -08:00
Jonathan Zernik
773b38de2f
Add test for get multiple received payments db method (#1700) 2021-10-23 08:16:09 -07:00
Jonathan Zernik
a9c97c5df7
Add test for get inserted sent payments (#1689) 2021-10-22 18:36:47 -07:00
Jonathan Zernik
f437939895
Add tests for get peers db method (#1659) 2021-10-19 07:50:07 -07:00
Jonathan Zernik
0f11eb4f99
Got outline of tests for squeak core methods (#1562)
* Got outline of tests for squeak core methods

* Split squeak core test fixtures into seller and buyer

* Add unit tests for decrypt content from sent payment in squeak core
2021-10-11 18:22:20 -07:00
Jonathan Zernik
2a55b44b97
Add get timeline squeak entries test (#1518)
* WIP: most of timeline db query test

* Got unit test for timeline query working with followed profile

* Remove old commented create signing profile function
2021-10-05 19:38:35 -07:00
Jonathan Zernik
9c599ee0e3
Add test util functions (#1515)
* Create test utils module for unit tests

* Improve squeak db unit tests using generated block header object

* Add assertion for block time in get squeak entry test
2021-10-05 15:28:25 -07:00