Commit graph

3819 commits

Author SHA1 Message Date
benthecarman
a0ab0638f8
Allow for custom channel sizes in LndRpcTestUtil.createNodePair (#4398) 2022-06-16 19:36:03 -05:00
Chris Stewart
3154362f1a
Add platform specific name to bitcoin-s artifacts (#4401)
* Add platform specific name to bitcion-s artificats so they don't overwrite each other on releases

* Fix so artifact name is changed, but startup script name is not changed
2022-06-16 17:08:06 -05:00
Chris Stewart
e2b8fd11c8
Add sports betting examples to 1.9.2 website (#4400) 2022-06-16 14:53:17 -05:00
Chris Stewart
620e19b529
Add some summaries (#4399) 2022-06-16 14:26:37 -05:00
GreyMcCarthy
94872ddebc
sports betting example (#4397)
* added sports betting exercise

* added sports betting exercise

* added sports betting exercise
2022-06-16 13:55:47 -05:00
benthecarman
24a9e6a5e6
Add PaymentSecret, ShortChannelId, and MilliSatoshis Db Mappers (#4396) 2022-06-15 07:32:53 -05:00
benthecarman
c2f0762028
Add hmac256 to CryptoUtil (#4395) 2022-06-15 07:32:17 -05:00
Chris Stewart
9769fbcbb6
Add TaprootWitness, new methods to XOnlyPubKey (#4394)
* Add TaprootWitness, new methods to XOnlyPubKey

* Address codereview
2022-06-14 20:27:01 -05:00
Chris Stewart
acd1d227cf
Rework WitnessVersion.rebuild() to take WitnessScriptPubKey as a parameter (#4393)
* Rework WitnessVersion.rebuild() to take WitnessScriptPubKey as a parameter rather than the raw asm

* Fix bug when calculating witness program length

* Fix witnessProgram bug in ScriptInterpreter.rebuildV0()

* remove invariant, fix type
2022-06-14 20:08:13 -05:00
Nadav Kohen
ad8802164c
ECPublicKey.tweakMultiply -> multiply and Added CryptoParams.getG (#4391)
* Renamed ECPublicKey.tweakMultiply to just multiply and added CryptoParams.getG

* Used decompressed G in FieldElement.G

* Removed G from FieldElement altogether
2022-06-14 13:11:21 -05:00
benthecarman
45ba6ee1e7
Fix lnurl module name to have bitcoin-s prefix (#4392) 2022-06-14 12:37:39 -05:00
Chris Stewart
678c29cf81
1.9.2 website (#4390) 2022-06-14 11:47:20 -05:00
Chris Stewart
52ded677e0
Update 1.9.2 release notes again (#4389) 2022-06-14 09:33:29 -05:00
rorp
1ad540703c
Improve bitcoind connection retry logic (#4386) 2022-06-14 08:40:04 -05:00
rorp
fdf281b469
DLC <-> contact mapping (#4346)
* DLC <-> contact mapping

* updated docs

* populate dlc/contact mapping automatically

* typo

* respond to the PR comments

* rename `contact` to `peer`

* fix unit tests

* create a contact when an incoming offers gets created

* drop dlc_contact_mapping table

* fix build

* update the docs

* Revert "update the docs"

This reverts commit 2386adadcd.

* revert dlc-contact-* endpoints
t Please enter the commit message for your changes. Lines starting
2022-06-14 08:14:28 -05:00
Chris Stewart
ddbdde495d
2022 06 13 taprootspk xonlypubkey (#4388)
* Implement XOnlyPubKey inside of TaprootScriptPubKey

* Add ECPrivateKey.toXOnly

* Address code review
2022-06-13 18:43:43 -05:00
Nadav Kohen
7e2ecd9d6a
Added data structure for x-only public keys with undetermined parity (#4387) 2022-06-13 16:02:37 -05:00
benthecarman
762202a54d
Add test/example on how to use the channel acceptor (#4375) 2022-06-13 14:53:10 -05:00
GreyMcCarthy
5f82307e27
Added Compute Contract Id test Vectors (#4385)
* Testing contract id calculation

* Added implicit json reader imports
2022-06-13 14:13:48 -05:00
Chris Stewart
cbeae5cdbc
Remove carve out for protoc on aarch64 now that the akka grpc plugin has been updated (#4384) 2022-06-13 12:14:11 -05:00
benthecarman
c2d8735dd7
LND: Add configs for gossip in test env (#4378) 2022-06-13 11:58:50 -05:00
benthecarman
344a8fd759
Add TLVs defined in BOLT 4 (#4380)
* Add TLVs defined in BOLT 4

* Fix test case
2022-06-13 11:58:11 -05:00
Chris Stewart
b021649ac4
Refactor WitnessVersion.rebuild() to be Either[ScriptError,ScriptPubKey] to make the taproot implemtation easier (#4382) 2022-06-11 10:35:13 -05:00
benthecarman
ab215e26df
Set recovery id properly for buildLnInvoiceSignature (#4379) 2022-06-11 09:36:19 -05:00
benthecarman
efc1f9fb77
Have Satoshis extend Numeric (#4364)
* Have Satoshis extend Numeric

* Add test case
2022-06-11 06:13:05 -05:00
Chris Stewart
171001273c
Implement a workaround for 4369 on docker images and m1 macs IF the user has another java installed on their machine (#4377) 2022-06-09 15:10:28 -05:00
benthecarman
45777f2bb0
Fix outPointToChannelPoint to use correct endianness (#4376) 2022-06-09 14:29:24 -05:00
GreyMcCarthy
4c74f54741
Made change to cli.md file, clarifed only need to do either (Building the command line interface) or (Native binaries) section (#4373) 2022-06-08 14:48:13 -05:00
benthecarman
441937238f
Make flyway protected so other apps can access it (#4372) 2022-06-06 16:10:26 -05:00
Chris Stewart
0a0fc92f32
Switch base docker image to ubuntu to get docker working again (#4367) 2022-06-04 18:17:06 -05:00
Chris Stewart
1706ec8e84
Fix typo (#4365) 2022-06-04 07:56:10 -05:00
benthecarman
54c3f77f8e
Improve lnd test suite reliability (#4361) 2022-06-01 14:28:35 -05:00
Chris Stewart
4fc3b05ed5
Upgrade website dependencies (#4363) 2022-06-01 14:01:33 -05:00
Chris Stewart
72fef5a27e
initial draft of 1.9.2 release notes (#4362) 2022-06-01 13:38:22 -05:00
Shreyansh
d8fc8e588f
Remove Spv code (#4356)
* change node tests to neutrino

* get node test working

* merge DataMessageHandlerTest and DataMessageHandlerNeutrinoNodeTest

* delete unused files

* remove commented out spv parts

* formatting

* delete spv node

* remove merkle callback for neutrino node

* remove spv node wallet callbacks

* formatting

* remove SpvWalletApi

* replace SpvTestConfig with NeutrinoTestConfig

* more replace SpvTestConfig with NeutrinoTestConfig

* minor fix

* fix tests
2022-05-30 07:57:31 -05:00
Nadav Kohen
b80bf4649e
Add HashType to ECDigitalSignature API (#4320)
* HashType now uses Int instead of Int32

* Moved HashType from core to crypto

* Added HashType helper functions to ECDigitalSignature

* Added tests

* Fixed compile
2022-05-29 18:25:22 -05:00
benthecarman
676c0b4261
Add isStandard to Address (#4353) 2022-05-27 08:04:18 -05:00
Chris Stewart
bf88d0d93f
Remove exception when we have zero relevant outputs (#4352) 2022-05-26 12:39:09 -05:00
user411
8a01432db4
Try to debug why shutdown isn't working on windows (#4349)
* Try to debug why shutdown isn't working on windows

* Add 2022-05-18-shutdown-bug branch so it triggers release.yml

* Cleanup OracleServerMain shutdown

* Make cleaner shutdown messages

* Remove feature branch

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2022-05-24 14:41:12 -05:00
rorp
f680ab8691
Persist whether wallet is rescanning in the database (#4326)
* Persist whether wallet is rescanning in the database

* fix cli

* fix build

* fix unit tests

* fix postgres tests

* remove wallet_state table

* fix rescan bug

* cleanup

* revert Cancellable's

* Cleanup

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2022-05-23 19:03:02 -05:00
benthecarman
527e3ae862
Fix lnd sendToRoute for 0 amount invoices (#4348)
* Fix lnd sendToRoute for 0 amount invoices

* Add unit test
2022-05-23 08:07:30 -05:00
benthecarman
e9582d2145
Update lnd to v0.14.3-beta (#4347) 2022-05-19 19:24:01 -04:00
Chris Stewart
2af7923f3b
Downgrade slick to fix jlink build (#4345) 2022-05-18 11:47:46 -05:00
Chris Stewart
107f95cd5a
Upgrade sttp to 3.6.1 (#4341) 2022-05-18 08:35:49 -05:00
Chris Stewart
63df47e002
Upgrade to slick to 3.4.0-M1 (#4342) 2022-05-18 08:31:59 -05:00
Chris Stewart
4b2ca33495
upgrade micropickle to 1.6.0 (#4340) 2022-05-17 18:04:59 -05:00
Chris Stewart
d335cd1933
Enable LauncherJarPlugin on oracleServer/appServer (#4338)
* Enable LauncherJarPlugin on oracleServer/appServer

* remove feature branch
2022-05-17 14:40:48 -05:00
rorp
9d90b2279a
Tor v0.4.6.10 (#4331)
* Tor v0.4.6.10

* Update tor version

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2022-05-17 12:06:17 -05:00
rorp
059f2f5fac
Fix ERROR: relation "txo_spending_info" does not exist (#4323)
* Fix `ERROR: relation "txo_spending_info" does not exist`

* Escape schema name

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2022-05-17 12:02:29 -05:00
Chris Stewart
341c712563
Validate bitcoin-s.wallet.walletName config option (#4336) 2022-05-17 10:29:17 -05:00