Jonathan Zernik
464a660ee2
Remove old peer connection param ( #645 )
2021-01-13 20:21:19 -08:00
Jonathan Zernik
c832f2515a
Fix upload single squeak method and improve loggin ( #644 )
2021-01-13 20:00:24 -08:00
Jonathan Zernik
5ffd1c04eb
Filter local db lookup by allowed hashes before upload ( #643 )
...
* Filter local db lookup by allowed hashes before upload
* Simplified checking uploads for allowed whitelist
2021-01-13 19:16:43 -08:00
Jonathan Zernik
8a4c038007
Rename sync modules ( #642 )
...
* Rename modules in sync folder
* Rename modules in sync folder
2021-01-13 18:37:51 -08:00
Jonathan Zernik
c73b681422
Removed peer connection class ( #641 )
2021-01-13 18:08:45 -08:00
Jonathan Zernik
6bef275057
Fix get peers to sync in network synv ( #640 )
2021-01-13 17:50:54 -08:00
Jonathan Zernik
41278868bd
Create base class network sync ( #639 )
...
* itest passing with refactored peer sync
* Fix query for downloading peers
* Delete old network sync
* Revert "Delete old network sync"
This reverts commit 91d5620129 .
* Delete old network sync
2021-01-13 17:41:50 -08:00
Jonathan Zernik
2a6c3049b5
Refactor peer task ( #638 )
2021-01-13 16:06:21 -08:00
Jonathan Zernik
f2c9a7b7f3
Improved peer client context manager ( #637 )
2021-01-13 15:45:59 -08:00
Jonathan Zernik
b80a9166bc
Improve logging of network peer sync ( #633 )
2021-01-12 21:29:13 -08:00
Jonathan Zernik
00d346668a
Remove old server tests ( #631 )
2021-01-12 20:54:31 -08:00
yzernik
00b0e8ec20
Release version 0.1.15
2021-01-12 20:46:08 -08:00
Jonathan Zernik
d01aaf683f
Remove unused lookup response class ( #630 )
2021-01-12 20:33:56 -08:00
Jonathan Zernik
24caaff56b
Simplify rate limiter constructor ( #629 )
2021-01-12 20:21:47 -08:00
yzernik
42c19075ce
Release version 0.1.14
2021-01-12 20:11:49 -08:00
Jonathan Zernik
8c8f777882
Add sync block range config ( #628 )
...
* Add sync block range config
* Fix block range config
2021-01-12 20:03:38 -08:00
Jonathan Zernik
b26c3ea9df
Include latest_block_height in lookup response ( #627 )
2021-01-12 19:44:30 -08:00
Jonathan Zernik
5572ee07d0
Use bytes for server proto ( #626 )
...
* Use bytes for squeak_hash in getsqueak method
* Use bytes for squeak hash in get offer rpc
* Use bytes for hash field in squeak message in proto
* Use bytes for hashes in lookup response
* Remove old commented code
* Use bytes for squeak hash in peer client post
* Remove old comments
2021-01-12 19:13:40 -08:00
Jonathan Zernik
eed3e744f4
Use bytes for all squeak_hash internally ( #623 )
...
* Remove logging from peer task
* Use squeak_hash as bytes for all internal objects
* Update comment about checking payment point TODO
* Simplify logging in whitelist and rate limiter
* Remove getreplyto function
2021-01-12 17:23:26 -08:00
Jonathan Zernik
ed16492a75
Remove check for blockchain synced ( #621 )
2021-01-12 14:05:36 -08:00
Jonathan Zernik
51b2df0d7d
Add type hints for core params ( #617 )
2021-01-12 10:39:36 -08:00
Jonathan Zernik
a6e0b77fa5
Log each received payment ( #616 )
2021-01-12 10:39:14 -08:00
yzernik
d490c3efef
Release version 0.1.12
2021-01-12 07:51:53 -08:00
Jonathan Zernik
ec3654cf83
Reject server messages when not synced ( #615 )
...
* Fail fast on server requests when chain not synced
* Only sync timeline when blockchain is synced.
2021-01-12 00:46:48 -08:00
Jonathan Zernik
c3319c8d21
Remove address validator class ( #614 )
2021-01-11 23:10:10 -08:00
Jonathan Zernik
021b2ab9a3
Rename buy offer ( #612 )
...
* Rename BuyOffer class to Offer
* Rename offer in server proto
2021-01-11 22:43:14 -08:00
Jonathan Zernik
f9a02b2245
Add docstrings for core classes and methods ( #611 )
2021-01-11 19:43:33 -08:00
Jonathan Zernik
37f56696ed
Rename peer_id field in squeak peer ( #610 )
2021-01-11 18:24:26 -08:00
Jonathan Zernik
e300300d84
Fix frontend build copy static build to right folder ( #609 )
2021-01-11 17:47:27 -08:00
Jonathan Zernik
0442a9fc86
Improve frontend build so old build is deleted ( #608 )
2021-01-11 17:29:15 -08:00
Jonathan Zernik
3def6951e7
Update frontend build for new sent payment proto ( #607 )
2021-01-11 17:12:49 -08:00
Jonathan Zernik
ccc7b66c40
Rename received offer ( #606 )
...
* Rename received_offer db table
* Rename core struct to ReceivedOffer
* Rename received_offer_id field
* Move received offer with peer module
2021-01-11 16:33:56 -08:00
yzernik
96b3adb5a2
Release version 0.1.11
2021-01-11 11:49:50 -08:00
Jonathan Zernik
6970ce1331
Upgrade version of squeaklib in itest ( #602 )
2021-01-11 11:42:38 -08:00
Jonathan Zernik
1414c2163f
Delete sent offer and received offer after payment ( #601 )
...
* Delete sent offer and received offer after payment
* Fix itest for deleted offers after payment
2021-01-11 11:34:49 -08:00
Jonathan Zernik
1969308b20
Delete unused modules ( #600 )
2021-01-11 11:26:59 -08:00
Jonathan Zernik
f8a76f9121
Fix deletion of expired sent offers ( #599 )
2021-01-11 09:52:05 -08:00
yzernik
e743e55c26
Release version 0.1.10
2021-01-11 08:05:36 -08:00
Jonathan Zernik
534b94e53d
Parse the correct ip addr when saving sent offer ( #597 )
2021-01-11 07:58:15 -08:00
Jonathan Zernik
b176b7fdfc
Convert msg to core struct in core ( #596 )
...
* Convert BuyOffer message to core struct before usinging in core
* Remove unnecessary fields from BuyOffer
* Add log line with sending buy offer.
2021-01-11 07:01:41 -08:00
yzernik
d6acd9c243
Release version 0.1.9
2021-01-10 19:37:49 -08:00
Jonathan Zernik
80d7eb1878
Update squeaklib version and use new make squeak function ( #594 )
2021-01-10 19:28:56 -08:00
Jonathan Zernik
44a15ce7be
Delete squeak maker class ( #593 )
2021-01-10 18:57:48 -08:00
Jonathan Zernik
508d3ab539
Remove squeak store ( #592 )
...
* Stop using save_squeak method of squeak_store
* Stop using get_squeak method of squeak_store
* Stop using delete_squeak method of squeak store
* Stop using unlock_squeak in squeak_store
* Remove squeak_store usage from peer task
* Remove some usages of squeak_db from peer_task
* Remove all squeak_db usage from peer_task
* Remove squeak_store from main module
* Delete squeak store class
2021-01-10 18:57:36 -08:00
Jonathan Zernik
080ee1eac8
Remove received payments verifier ( #591 )
...
* Got received payments working without verifier class
* Process received payments works with better exception handling
* Delete sent offers verifier
2021-01-10 14:56:23 -08:00
azernik
f63c511149
fixed error handler for create squeak ( #588 )
2021-01-10 10:52:36 -08:00
Jonathan Zernik
2587100417
Update readme with new entrypoint description ( #590 )
2021-01-10 10:47:32 -08:00
Jonathan Zernik
c308a819f1
Simplify pay_offer method of controller ( #589 )
2021-01-10 10:47:21 -08:00
Jonathan Zernik
138ef7d984
Add squeak core module ( #587 )
...
* Add squeak_core module
* Remove unused import
* Delete squeakblockverifier
* Use squeak_core to make squeak
* Remove blockchain client from controller
* Move create offer method to squeak core
* Add some type hints
* Move get buy offer method to squeak_core
* Delete commented old get buy offer block
* Add pay_offer to squeak_core
* Add get received payments generator function to squak core
* Add get_offer method to squeak_core
* Remove lightning_client property from peer_task
* Remove old comments from payment verifier class
* Use bytes internally for payment_hash
* Represent secret_key as bytes internally
2021-01-10 09:31:41 -08:00
yzernik
ae61726053
Release version 0.1.8
2021-01-09 00:10:54 -08:00