Commit Graph

3503 Commits

Author SHA1 Message Date
rorp
41b96c4c7e
Add rescan field to walletinfo response (#3933) 2021-12-23 14:30:26 -08:00
Scala Steward
0c134c7e9b
Update logback-classic to 1.2.10 (#3931) 2021-12-23 09:07:28 -06:00
benthecarman
6c2bb0d111
Rename database username and password variables (#3930) 2021-12-23 06:46:01 -06:00
rorp
4b07629d56
Add getmediantimepast RPC call (#3921)
* Add `getmediantimepast` RPC call

* update docs

* respond to the PR comments
2021-12-22 16:15:30 -06:00
Scala Steward
0c625346e7
Update sbt to 1.5.8 (#3929) 2021-12-20 18:27:13 -06:00
Chris Stewart
4646ef6e19
Remove BitcoinSServerMain.startedFP (#3928) 2021-12-20 14:29:03 -06:00
Chris Stewart
4ca586ca46
2021 12 19 dlc callbacks (#3923)
* Implement DLC wallet callbacks

Add callbacks and tests for Claimed/RemoteClaimed

Add unit test for confirmed state

* Add some docs

* Address ben's code review

* Fix scalafmt
2021-12-20 14:28:52 -06:00
Chris Stewart
3cd57d37f5
Remove backupwallet / backup oracle (#3920)
* Remove backupwallet / backup oracle

* Add zipdatadir documentation

* Fix submodule
2021-12-20 08:19:46 -06:00
Scala Steward
f6608f49b2
Update akka-actor, akka-discovery, ... to 2.6.18 (#3925) 2021-12-20 08:17:06 -06:00
Scala Steward
4015909633
Update metrics-core to 4.2.7 (#3922) 2021-12-20 06:50:20 -06:00
Scala Steward
b200b1cc16
Update akka-grpc-runtime_2.12, ... to 2.1.2 (#3918) 2021-12-17 17:28:02 -06:00
Chris Stewart
665f931721
Work around for WalletAppConfig.scheduler being blocked by AddressQueueRunnable (#3917)
Add smallest workaround for 3916
2021-12-17 11:58:40 -06:00
rorp
c0c54acc24
Make non-final bitcoind RPC error message more descritptive (#3915) 2021-12-17 10:18:09 -06:00
Scala Steward
fa5588d111
Update logback-classic to 1.2.9 (#3914) 2021-12-17 10:15:19 -06:00
Chris Stewart
2d9d12816b
Add WalletCallbacks.onBlockProcessed() (#3912) 2021-12-16 12:26:48 -06:00
Chris Stewart
1969056372
Add better logs for fundTransactionInternal (#3911)
* Add better logs for fundTransactionInternal to understand the state of utxos when they are selected

* Move where log happens for unreserving utxos
2021-12-16 11:28:52 -06:00
Scala Steward
2dbc6aa59e
Update metrics-core to 4.2.6 (#3908) 2021-12-16 07:57:59 -06:00
Scala Steward
0bd59ec8e1
Update sbt to 1.5.7 (#3907) 2021-12-15 12:18:42 -06:00
Chris Stewart
8307fdc0d1
2021 12 12 wallet doublespend tests (#3898)
* WIP

* Fix sql queries, fix up unit tests that were implicitly using wallet.processOurTransaction()

* Remove default parameter markAsReserved=false on FundTransactionHandling.fundRawTransactionInternal()

* Fix submodule

* Add test to make sure if we fail to reserve utxos, we roll the database transaction back

* Add some clarifying comments

* address ben's code review for failures in finishSend()

* Scalafmt
2021-12-15 07:03:11 -06:00
rorp
f8f5a8e8dc
Update docker-application.conf (#3905) 2021-12-14 17:34:23 -06:00
rorp
7e214da601
Improve BitcoinSAppConfig.zipDatadir (#3903) 2021-12-14 17:23:18 -06:00
Scala Steward
d1f191bfc6
Update logback-classic to 1.2.8 (#3902) 2021-12-14 17:21:30 -06:00
benthecarman
d66afe9e43
Add satoshisRounded to Bitcoins (#3904) 2021-12-14 17:20:57 -06:00
Chris Stewart
6c67e83d3f
2021 12 10 issue 3891 (#3894)
* Add some logs to indicate how long startup time is

* Parallelize submodule configuration startup between modules dependent on tor and modules not dependent on tor

* Start tor dependent modules in parallel too

* Make Wallet.initialize() use DBIOAction

* Scalafmt

* Make Wallet.initialize() use .transasctionally
2021-12-13 14:20:51 -06:00
Chris Stewart
174c511cd3
2021 12 12 wallet optimization (#3897)
* Add logs for receiving/spending utxos in a block, modify code to use sql query

* Fix bug on join

* Turn off logging
2021-12-12 16:02:31 -06:00
rorp
41585a18ca
Make Bitcoin Core RPC backend to retry on Error -28: Verifying blocks (#3896) 2021-12-12 15:46:22 -06:00
Chris Stewart
d060c1c5fa
Use bigendian txids in wallet log messages (#3893) 2021-12-10 12:03:25 -06:00
Scala Steward
52ca1d8644
Update sbt to 1.5.6 (#3892) 2021-12-10 10:46:01 -06:00
Scala Steward
38a1551bf8
Update metrics-core to 4.2.5 (#3889) 2021-12-09 09:15:55 -06:00
Chris Stewart
a38309bed1
Add range of block heights to the error message (#3886) 2021-12-09 09:01:01 -06:00
Chris Stewart
0d37c4b54f
2021 12 08 block parsing bug caused by 65 byte taproot signatures (#3887)
* Add block  0000000000000000000593310d3b0cdc082af49f38b8a1611239072aef8433a8 test vector

* Add test cases

* wip

* Fix bug where we were classifying taproot txs as P2WPKHWitnessV0

* revert logging level

* Some cleanup

* Add logback.xml for scripts, remove scheduler in scan bitcoind

* Fix imports

* Take ben's suggestion and add check to CryptoUtil.isValidPubKey
2021-12-09 06:38:25 -06:00
benthecarman
cb704da927
Add clightning sendcustommsg (#3883) 2021-12-08 10:13:20 -06:00
benthecarman
afb51228b4
Add NodeId to DbCommonsColumnMappers (#3880) 2021-12-07 17:17:30 -06:00
Chris Stewart
085b8b1910
Implement CRUDAction.deleteAction() (#3877) 2021-12-06 07:19:31 -06:00
Chris Stewart
6e7af37ca0
2021 12 03 installer rename (#3876)
* Rename installers to try and make it more obvious waht they are

* Try super short names

* Fix missing update to error message on CRUDAction.update()

* Remove special branch

* Update submodule
2021-12-04 06:10:08 -06:00
Chris Stewart
2d5732375f
Add CRUDAction.{updateAllAction, updateAction} (#3872)
* Add CRUDAction.{updateAllAction, updateAction}

* Move updateDLCOracleSigs into DLCActionBuilder and make it an action

* Update DLCTransactionProcessing.calculateAndSetOutcome() to use actions
2021-12-04 05:29:51 -06:00
Nadav Kohen
9c9a0a618f
Update secp256k1-zkp (#3856)
* Added mac m1 binaries

* Added windows binaries

* Added linux binaries

* Updated secp256k1-zkp subdirectory

* Linux ARM binaries

* OSX 64 binaries

Co-authored-by: rorp <rorp@users.noreply.github.com>
2021-12-03 09:49:07 -06:00
Chris Stewart
d393848cc2
2021 11 30 issue 3847 (#3862)
* Start pulling over accept serializers from dlc message spec PR

* Get sign tlv json serialization working

* Implement decodeaccept,decodesign in CoreRoutes

* Move messages to DLCTestUtil, add documentation
2021-12-01 13:30:18 -06:00
benthecarman
169222a306
Add default proxy params (#3863) 2021-12-01 12:28:59 -06:00
Scala Steward
b2bf190dce
Update bcprov-jdk15on to 1.70 (#3861) 2021-12-01 06:55:18 -06:00
benthecarman
f54ed98c74
Add subscribe invoices function to lnd (#3860) 2021-12-01 06:53:33 -06:00
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