Commit graph

604 commits

Author SHA1 Message Date
Jonathan Zernik
8cf4293d66
Add lnd send coins to admin rpc (#654)
* Add lnd send coins to admin rpc

* Add flask endpoint for lnd sendcoins
2021-01-14 22:02:52 -08:00
Jonathan Zernik
4ad3232325
Rename get post squeak rpc methods (#659)
* Rename download squeak rpc method

* Fix name of upload squeak rpc method

* Rename download squeak rpc method

* Rename download offer peer rpc method

* Fix comments in peer rpc server proto

* Rename methods in peer client.
2021-01-14 21:32:55 -08:00
Jonathan Zernik
1d4baaa5fa
Redo peer protocol (#658)
* Add lookup squeaks to download peer rpc method

* Added peer rpc method for lookup squeaks to upload

* Got itest passing with new peer rpc

* Fix upload lookup method in peer server servicer
2021-01-14 20:38:38 -08:00
yzernik
a11174a69d Release version 0.1.17 2021-01-14 14:03:05 -08:00
Jonathan Zernik
9ac450683e
Add mainnet config.ini file (#652) 2021-01-14 10:25:37 -08:00
Jonathan Zernik
a815fac5c9
Include satperbyte in open channel dialog (#650)
* Include satperbyte in open channel dialog

* Improve tx details

* Update static build
2021-01-14 09:07:27 -08:00
Jonathan Zernik
bf0729220a
Fix mainnet override for docker compose (#649) 2021-01-13 22:32:08 -08:00
yzernik
702f825c9c Release version 0.1.16 2021-01-13 21:27:19 -08:00
Jonathan Zernik
4893b23f73
Fix name of get offer method of peer client (#647) 2021-01-13 21:16:45 -08:00
Jonathan Zernik
cb9cf31b04
Simplify peer controller logic (#646)
* Simplify peer controller logic

* Remove unnecessary helper methods from peer controller
2021-01-13 21:08:16 -08:00
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