Commit Graph

3262 Commits

Author SHA1 Message Date
benthecarman
7933c90741
Update c-lightning to v0.10.2 (#3857) 2021-11-30 13:07:58 -06:00
Scala Steward
d0db9ba633
Update scodec-bits to 1.1.30 (#3855) 2021-11-30 12:51:47 -06:00
Chris Stewart
f71d3567ed
2021 11 23 crud action (#3851)
* WIP

* Finish implementing {CRUD,CRUDAction}.createAllAction()

* Try to make database inserts more atomic

* Consolidate more database calls in DLCWallet.initDLCForAccept()

* WIP2

* More refactor and using actions

* Add DLCIdDaoUtilNoPK for querying when dlcId is not a primary key

* Add DLCDataManagement.deleteDLC()

* make DLCWalletApi.createDLCOffer() use actions

* Rework DLCWallet.createNewDLCAccept() to use DBIOAction

* Use actions in DLCWallet.registerDLCAccept() a bit

* Create DLCActionBuilder, move actions to there

* Move more actions into ActionBuilder

* Implement transactionally on database writes for actions
2021-11-30 12:38:55 -06:00
Chris Stewart
8765c2f845
Disjoint union dlc (#3839)
* Implemented Disjoint Union DLC related data structures with dlcTest passing

Broke DLCClientTest up into multiple test files

Optimized DLC execution unit tests by checking all outcomes on a single setup DLC

Refactored DLCTest to allow for Disjoint Union DLC construction and validation, added tests

Responded to review

Fixed after cherry-pick

Fixed docs

* Fixed things after rebase

* Rebase

* Fix json serializer

* Finish fixing compile

* Start trying to make APIs better for multi oracle contract infos

* Clean things up in the GUI, try to make failures on disjoint union contracts as explicit as possible

* Use less numDigits as optimization for non secp CI test cases

* Fix compile

* Refactor BroadcastDLCDialog

* Fix test case optimization

* Clean up comment

Co-authored-by: nkohen <nadavk25@gmail.com>
2021-11-29 19:26:00 -06:00
benthecarman
cd3006c020
Verify binary download hashes (#3849)
* Update lnd to v0.14.1

* Verify binary download sha256 sums
2021-11-27 11:51:34 -06:00
benthecarman
09f0ac4657
Update lnd to v0.14.1 (#3848) 2021-11-27 11:49:29 -06:00
Chris Stewart
019c9b2644
Fix log message failure in DLCDataHandler (#3845) 2021-11-23 05:52:44 -06:00
benthecarman
90e01d7fc6
Fix broadcasting witness vs legacy txs (#3841)
* Fix broadcasting witness vs legacy txs

* Fix version test
2021-11-22 07:25:58 -06:00
benthecarman
155301fc1d
Allow lnd remote to work with certificate string (#3840) 2021-11-20 18:59:46 -06:00
rorp
41cb26a3bb
Make DLC node's external IP configurable (#3838)
* Make DLC node's external IP configurable

* docs

* some more changes
2021-11-19 14:51:23 -06:00
rorp
a6898defe2
Support for Bitcoin Core v22 (#3834)
* Support for Bitcoin Core v22

* respond to the PR comments
2021-11-19 13:58:27 -06:00
Scala Steward
ea6ac56fd5
Update sbt-native-packager to 1.9.7 (#3833) 2021-11-19 06:57:45 -06:00
benthecarman
9701769125
Handle TypeIdentifier.MsgWitnessTx messages (#3836) 2021-11-19 06:56:53 -06:00
benthecarman
079fa62073
Lnd v0.14.0 (#3835) 2021-11-19 06:55:56 -06:00
benthecarman
422aea2242
Fix TypeIdentifier fromBytes (#3832) 2021-11-17 06:26:07 -06:00
rorp
0b9500f4f2
Add hex fields to decodecontractinfo JSON response (#3830) 2021-11-16 13:21:24 -06:00
benthecarman
fc09f41db2
Request witness versions of transactions from nodes (#3829) 2021-11-16 13:17:54 -06:00
Chris Stewart
1d7529236f
2021 11 13 scan bitcoind witspkv1 mempool (#3825)
* Add script to count witness spk v1 txs

* more fixes and information

* Clean up
2021-11-16 13:06:51 -06:00
user411
856e455be3
Remove 'not set' rate of return % sign on wallet (#3828) 2021-11-16 13:06:36 -06:00
Chris Stewart
ba88fb1a03
2021 11 12 fix multiple tag issue (#3822)
* WIP

* Add test case to make sure we can tag an address multiple times

* Actually assert the tagnames/addresses
2021-11-12 15:57:39 -06:00
Chris Stewart
5189b6ad5c
revert logging directives on request/response back to DEBUG (#3819) 2021-11-12 10:39:14 -06:00
Chris Stewart
a40ef1ab21
Break existing api to get new address to remove the requirement for null label (#3818) 2021-11-12 09:58:50 -06:00
Chris Stewart
b3d61bc793
Add deleting address tags to to clearAllUtxosAndAddresses() (#3817)
* Add deleting address tags to to clearAllUtxosAndAddresses()

* assert address tag return is empty
2021-11-12 08:53:55 -06:00
Scala Steward
65ab6206b3
Update logback-classic to 1.2.7 (#3815) 2021-11-12 08:15:37 -06:00
Chris Stewart
31e8324522
Make sure exception is caught by Future inside of UtxoHandling.unmarkUTXOsAsReserved() (#3816) 2021-11-11 15:22:45 -06:00
Scala Steward
31ce7cbd77
Update akka-grpc-runtime_2.12, ... to 2.1.1 (#3809) 2021-11-11 12:26:11 -06:00
benthecarman
0b3654f020
Remove scientific notation from Bitcoins.toString() (#3811) 2021-11-10 12:55:44 -06:00
Scala Steward
86bd52d7f2
Update scala-collection-compat to 2.6.0 (#3807) 2021-11-09 05:47:25 -06:00
Nadav Kohen
09c2562675
Added WitnessScriptPubKeyV1 for sending to Taproot addresses (#3737)
* Added WitnessScriptPubKeyV1 for sending to taproot addresses

* Add basic serialization test case

* Add basic unit tests around constructing a WitnessScriptPubKeyV1

* Add a generator for witSPKV1

* Add override

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2021-11-05 12:35:52 -05:00
rorp
21fab4ee70
Improve app server validation error handling (#3796) 2021-11-05 10:03:16 -05:00
benthecarman
cd5451adaa
Add clightning listtransactions func (#3797) 2021-11-05 08:31:24 -05:00
Chris Stewart
aa748c012f
2021 11 03 protocol version (#3793)
* ProtocolVersion WIP

* Start incorporating protocol version into DLC Offer

* Fix doc
2021-11-03 15:13:19 -05:00
Chris Stewart
18726c10bb
Move ValueIterator out of TLVFactory trait (#3794) 2021-11-03 12:13:44 -05:00
Scala Steward
5b8b296059
Update sbt-scoverage to 1.9.2 (#3791) 2021-11-03 06:07:03 -05:00
Scala Steward
8c64c2d094
Update sbt-bloop to 1.4.11 (#3792) 2021-11-03 06:06:27 -05:00
Scala Steward
4f081b9d22
Update akka-http, akka-http-testkit, ... to 10.2.7 (#3790) 2021-11-02 14:00:23 -05:00
Scala Steward
3c2e07d24e
Update junit-interface to 0.13.2 (#3781) 2021-11-01 09:37:12 -05:00
Chris Stewart
92cf042ccb
Expose MnemonicCode.toEntropy() and MnemonicCode.toEntropyWithChecksum() methods (#3786) 2021-10-29 19:34:42 -05:00
Scala Steward
ee348c8a57
Update postgresql to 42.3.1 (#3784) 2021-10-29 14:08:16 -05:00
rorp
e02c9bba12
Overridable Tor config (#3780) 2021-10-27 12:57:10 -05:00
Chris Stewart
6001da3d59
Add documetnation for setting and getting an oracle name (#3782) 2021-10-27 11:23:05 -05:00
Chris Stewart
c5c76ea46b
Add missing markdown files (#3779) 2021-10-25 08:16:23 -05:00
rorp
403c78fd8f
Server Docker config (#3775) 2021-10-25 06:35:02 -05:00
Scala Steward
e5c6c4463c
Update sbt-unidoc to 0.5.0 (#3777) 2021-10-24 03:29:24 -05:00
Scala Steward
21be9241b8
Update sbt-mdoc to 2.2.24 (#3772) 2021-10-21 09:51:47 -05:00
Scala Steward
1310177de4
Update sbt-bloop to 1.4.10 (#3776) 2021-10-21 09:37:44 -05:00
Chris Stewart
6f696cab78
Update website dependencies (#3771) 2021-10-20 08:52:33 -05:00
Chris Stewart
c0f2aa73db
Fix 1.8.0 of website (#3770) 2021-10-20 07:38:08 -05:00
Chris Stewart
01a7c7c838
Make clightning tests execute async (#3768) 2021-10-19 12:18:04 -05:00
rorp
d71208cf0f
Support Eclair v0.6.2 (#3765)
* Support Eclair v0.6.2

* cleanup
2021-10-19 11:46:54 -05:00