Jonathan Zernik
718cc60e9f
Simplify test for get profile method ( #1649 )
2021-10-19 04:53:00 -07:00
Jonathan Zernik
43f358adcc
Comment out unused db method ( #1648 )
2021-10-19 04:38:45 -07:00
Jonathan Zernik
3646fbb742
Add test for get following profiles db method ( #1647 )
2021-10-19 04:32:14 -07:00
Jonathan Zernik
70fbb9e7db
Add test for get profiles db method ( #1646 )
...
* Add test for get profiles db method
* Add test for get contact profiles db method
2021-10-19 01:34:50 -07:00
Jonathan Zernik
4b35021ba0
Fix error in config doc about sent offer retention ( #1645 )
2021-10-18 22:22:53 -07:00
Jonathan Zernik
bd56867e2f
Add doc for configuration ( #1643 )
...
* Added configs for node section to config doc
* Add bitcoin configs to config doc
* Add lnd configs to config doc
* Add tor configs to config doc
* Add db configs to config doc
* Add admin configs to config doc
* Add webadmin configs to config doc
* Add link to configuration doc in readme
2021-10-18 22:13:01 -07:00
Jonathan Zernik
26eae15509
Add test for db get old squeaks to delete ( #1641 )
...
* Add test for get squeaks to delete db method
* Improve test for get squeaks to delete db method
* Add test for get squeaks to delete with liked squeaks and authored squeak
2021-10-18 20:32:56 -07:00
Jonathan Zernik
3ffa122f4f
Add test for get num squeaks with address in block range db method ( #1640 )
2021-10-18 12:47:14 -07:00
Jonathan Zernik
0dfe29ef06
Add test for get num squeaks db method ( #1639 )
2021-10-18 12:21:51 -07:00
Jonathan Zernik
258bd53f31
Add tests for lookup method of squeak db ( #1638 )
...
* Add tests for lookup method of squeak db
* Add test for lookup squeaks db method for unlocked only
2021-10-18 11:58:03 -07:00
Jonathan Zernik
f4a317f571
Add unit test for get address squeaks method of db ( #1637 )
...
* Add unit test for get address squeaks method of db
* Add test for get search entries method of db
* Add tests for get ancestor squeaks method of db
* Add tests for get reply squeaks method of db
2021-10-18 09:51:00 -07:00
Jonathan Zernik
c78f711f4e
Add method in squeak controller that deletes both expired received offers and expired sent offers ( #1633 )
2021-10-18 00:32:19 -07:00
Jonathan Zernik
07bf467692
Add docstring and test for get_hash function ( #1631 )
2021-10-18 00:16:08 -07:00
Jonathan Zernik
78d23615b3
Refactor update subscribed squeak worker ( #1630 )
...
* Refactor forward subscribed squeak method to squeak controller
* Refactor forward subscribed secret key method to squeak controller
* Remove instance variable network manager from new squeak and new secret key subscription classes
* Remove old comments from subscription workers
2021-10-18 00:05:47 -07:00
Jonathan Zernik
c53fe89096
Move tor configs to separate section ( #1629 )
...
* Move tor configs to separate section
* Update readme with new tor config section
2021-10-17 23:11:22 -07:00
Jonathan Zernik
d1477b0b99
Rename admin webapp user module ( #1628 )
2021-10-17 22:33:36 -07:00
Jonathan Zernik
c8d30fcbe9
Remove tor section from development doc ( #1623 )
2021-10-16 21:13:38 -07:00
Jonathan Zernik
b314b138a5
Add tests for webapp user ( #1621 )
...
* Add unit test for webapp user
* Add assertion for test webapp user with wrong username
2021-10-16 19:58:15 -07:00
Jonathan Zernik
fd6ad232e1
Add function to get private key from profile ( #1619 )
2021-10-16 19:35:24 -07:00
Jonathan Zernik
0e85b37f02
Add functions for optional types to msgs ( #1618 )
...
* Add functions for convert some optional types to msgs
* Add functions for convert optional squeak entry to msg
* Add function for convert optional peer to msg
* Add function for convert optional received offer to msg
* Add function for convert optional sent payment to msg
* Add function for convert optional squeak to detail msg
* Add function for convert optional connected peer to msg
* Use function for convert optional connected peer to msg in handler
2021-10-16 18:59:56 -07:00
Jonathan Zernik
b374aab2d9
Add init with retries method to squeak db ( #1616 )
...
* Add init with retries method to squeak db
* Use db init_with_retries method in squeak node class
* Add unit test for db init with retries method
* Raise exception with message on init with retry fail
2021-10-16 02:04:28 -07:00
Jonathan Zernik
69a4c7a663
Simplify fixtures for test db ( #1615 )
...
* Simplify fixtures for db test
* Remove redundant peer fixture in test db
2021-10-15 22:07:00 -07:00
Jonathan Zernik
661c85bd70
Ignore get_stub method of lnd client in code coverage ( #1611 )
2021-10-15 21:17:22 -07:00
Jonathan Zernik
47a68505b7
Add test for connected peer to msg ( #1610 )
2021-10-15 20:47:27 -07:00
Jonathan Zernik
11d8c8a1e3
Add test for payment summary to msg ( #1609 )
2021-10-15 20:22:38 -07:00
Jonathan Zernik
2daec01ed1
Add test for msg to received payment ( #1608 )
...
* Add test for msg to received payment
* Rename param in message to functions
* Rename param in message to sent payment function
2021-10-15 19:59:15 -07:00
Jonathan Zernik
16e9db2376
Add test for msg to sent payment ( #1606 )
...
* Add test for msg to sent payment
* Remove redundant assertion about sent payment secret key
2021-10-15 19:37:58 -07:00
Jonathan Zernik
c8ac284749
Add test for msg to squeak entry ( #1605 )
2021-10-15 18:26:58 -07:00
Jonathan Zernik
9c3e63dd2e
Add test for squeak detail to msg ( #1604 )
2021-10-15 17:57:25 -07:00
Jonathan Zernik
636cd4155a
Add test for sent payment to msg ( #1603 )
2021-10-15 17:49:59 -07:00
Jonathan Zernik
8e0dae6507
Add test for received payment to msg ( #1602 )
...
* Add test for received payment to msg
* Rename received payment to msg function
2021-10-15 17:35:37 -07:00
Jonathan Zernik
5a339605f3
Add fixture for offer to global conftest ( #1601 )
...
* Add fixture for offer to global conftest
* Remove old not none assertion
2021-10-15 17:02:53 -07:00
Jonathan Zernik
2a25ea6f1c
Add fixture for sent payment in global conftest ( #1600 )
2021-10-15 16:51:16 -07:00
Jonathan Zernik
d9e3053dbd
Add assertion for unpack offer with skip check payment point ( #1598 )
2021-10-14 23:48:23 -07:00
Jonathan Zernik
2ba722858b
Simplify unit test assertions for create offer ( #1597 )
2021-10-14 23:44:32 -07:00
Jonathan Zernik
84f7159d39
Add test for subscribe received payments ( #1596 )
...
* Add test for get received payments method of squeak core
* Add assertion on number of received payments in test.
2021-10-14 23:22:56 -07:00
Jonathan Zernik
95f54f01e3
Add test for get subscribed invoices ( #1595 )
...
* Add struct to represent subscribe invoices result
* Add return type for subscribe invoices method
* Added test for subscribe invoices method of lnd lightning client
2021-10-14 22:03:37 -07:00
Jonathan Zernik
95feeb3cbe
Add test for sent offer to msg ( #1594 )
2021-10-14 20:16:22 -07:00
Jonathan Zernik
d351613880
Add tests for squeak entry to message and profile to message ( #1593 )
...
* Add tests for squeak entry to message and profile to message
* Move fixtures for admin module to separate conftest
* Add test for peer to msg
* Use global fixture for peer_address in squeak core test
* Move common fixtures to global conftest
* Add fixture for received offer
* Add unit test for received offer to msg
* Add fixture for sent offer
* Rename received offer to msg function
2021-10-14 19:57:48 -07:00
Jonathan Zernik
b433953d7b
Update lnd proto file to latest version ( #1592 )
2021-10-14 13:08:05 -07:00
yzernik
c3088ac9ec
Release version 0.1.161
2021-10-12 21:44:22 -07:00
Jonathan Zernik
efdcbdeaef
Add test for check payment point with success ( #1591 )
2021-10-12 21:17:21 -07:00
Jonathan Zernik
ee7ace8e8e
Add test for case when lnd getinfo has no uris ( #1590 )
2021-10-12 20:15:07 -07:00
Jonathan Zernik
535aa741e1
Combine reduntant tests for squeak core create offer ( #1588 )
2021-10-12 19:51:56 -07:00
Jonathan Zernik
0dcbeea7c4
Add assertions on sent payment attributes ( #1587 )
2021-10-12 19:39:18 -07:00
Jonathan Zernik
c7fa4ec47c
Add test for send payment with failure ( #1586 )
2021-10-12 19:29:21 -07:00
Jonathan Zernik
dd927036a5
Add block_info fixture to global conftest ( #1584 )
2021-10-12 19:00:44 -07:00
Jonathan Zernik
8a317baabd
Add test for create offer without nonce ( #1583 )
2021-10-12 17:24:36 -07:00
Jonathan Zernik
1e1e3738c9
Remove old comments from squeak core unit test ( #1581 )
2021-10-12 16:47:33 -07:00
Jonathan Zernik
fb3b7fcd3a
Add test for invalid block hash ( #1580 )
...
* Add test for invalid block hash in get block header method
* Add test for invalid squeak hash in unpack offer method
* Add assertions for exception messages in squeak core tests
2021-10-12 16:45:41 -07:00