Commit graph

3793 commits

Author SHA1 Message Date
Chris Stewart
20bf1e6a08
Remove map on tor to allow access to getdlchostaddress endpoint before tor is fully stated (#4435) 2022-06-28 13:53:44 -05:00
user411
76694a55e9
Add server build matrix, mac,linux electron builds (#4434)
* Github electron release workflow

* Remove setup-node working-directory

* Suredbits Wallet linux workflow

* Build Mac krystalbull, Windows setup/install monorepo

* Build Mac Suredbits Wallet

* Test sign Electron Krystal Bull app

* Try fixed path

* Try different env var notation

* Change env var access notation

* Change env var access notation

* Add "$VAR"

* Quote more variables

* Test sign oracle-electron dmg directly

* Change comment

* Try again

* Try again

* Test build dep

* Test

* Test pull .zip artifact from previous build step

* Build after adding artifact folder support

* Matrix zips building

* os.target -> matrix.target

* Remove unused os references

* matrix zips and electron builds

* Add oses

* shell: bash

* shell: bash

* view artifacts

* Magic colon

* Add back javafx builds

* Optimize zip builds?

* Fix linux electron suredbits wallet

* Single build

* Separate JavaFX builds and cleanup

* Test sign wallet

* Take out non-mac builds for now

* Test build

* Test build with wildcard names directly

* Test build with wildcard names directly

* Test non-wildcard build

* Test keystore auth

* Test keychain again

* Try email as keychain key

* JavaFX build

* Try to notarize with keychain

* test notarize from keychain on javafx

* Try different keychain item name

* Try another keychain item name

* Test another keychain key

* Try another key

* Test Krystal Bull Electron signing/notarization

* Test keychain unlock and Team Id

* Import certs

* Test

* Test

* test

* test

* Test with keychain notarize

* Test

* Test short signing id

* Manually sign .app

* Try again

* Try again

* Try again

* Echo

* Echo

* Echo

* Echo

* server oracle electron build/sign/notarize

* manually sign after electron build

* Again

* Again

* Again

* Again

* Test staple

* Again

* Again

* Adjust password notarizing

* Sign dmg

* Only sign dmg

* Test implied matrix.* env var

* Sign app, sign dmg

* Again

* Electron native signing with keychain name

* again

* Make signing_temp.keychain before electron build

* Change keychain to signing_temp

* Back to signing_temp.keychain

* Notarize .zip

* Remove electron signing

* Add notarytool commands

* Unlock notarytool

* Add AC_PASSWORD

* store-creditials earlier

* Add codesign debugs

* gatekeeper-access: false, sign and notarize with electron forge

* Test run platform specific config

* Remove my-build/

* Test $KB_MAKE in artifact path

* Check dmg signing

* Check signing on wallet

* Again

* Fix env vars

* again

* Fix env var expansion

* again

* again

* again

* again

* again

* Add wallet entitlements.plist

* Turn other platform builds back on

* Mac zip only

* zip only

* cleanup

* macos manual sign apps

* comment

* Remove ubuntu electron build

* Test notarize KB

* Test windows build

* Build Windows KB

* mac,linux,win zips mac,linux electron builds

* Zip signed app

* Test mac zip after sign

* wallet cleanup

* again

* again

* Fix env vars

* No signing

* Move output .zips into /make

* Manual sign KB

* Manual sign again

* Again

* No signing

* Turn all builds back on

* Add debug flag, take out windows electron build

* Remove branch name from bitcoin-s-ts checkout
2022-06-28 10:49:17 -05:00
Shreyansh
42564bc810
Find and switch peers (#4408)
* add support to find and switch peers

* fix compile on 2.12

* allow empty config peers in regtest

* fix test

* minor fixes

changes timeouts, fix issue with ipv6 dns seeds, initDisconnect when disconnected bug, dbPeers order fix

* fix: not removing peers on initialization timeout

* fix: query again when previous failed

* fix: wrong condition for deferred peers

* restore log levels

* clean up

* add PeerStack to allow trying peers based on priority values

* fix migrations

* changes from comments

* use StartStopAsync

* changes from comments

* fix switch if peer down test

* changes from comments
2022-06-28 10:19:13 -05:00
Chris Stewart
305e920784
Remove extra stuff from README so its easier to find important stuff (#4433) 2022-06-27 17:24:22 -05:00
Chris Stewart
a97be26586
Get a SIGHASH_SINGLE test case working (#4431)
* Get a SIGHASH_SINGLE test case working

* Remove println
2022-06-27 15:23:49 -05:00
Chris Stewart
906e1f5c53
Bump previousStableVersion to 1.9.2 (#4432) 2022-06-27 15:22:17 -05:00
benthecarman
c4fd7035be
Add Taproot PSBT fields (#4420) 2022-06-27 08:55:30 -05:00
Chris Stewart
aed92c35af
Implement DISABLE_JLINK env variable to disable jlink jre's usage at runtime (#4426) 2022-06-26 13:20:22 -05:00
benthecarman
828d03c727
Fix out of bounds issues with lnd mappers (#4425) 2022-06-25 07:27:54 -05:00
benthecarman
0b9190f968
Lnd v0.15.0-beta (#4419) 2022-06-24 08:34:54 -05:00
Chris Stewart
124cbe4b67
Add annex to TaprootKeyPath (#4416)
* Add annex to TaprootKeyPath

* Add TaprootWitness.annexHashOpt

* Fix duplicate method
2022-06-23 12:12:38 -05:00
benthecarman
99b75d166f
Fixes support for bitcoind taproot descriptor wallets (#4415) 2022-06-23 07:10:51 -05:00
Chris Stewart
5115d8d076
Move lastCodeSeparator to StartedScriptProgram (#4414) 2022-06-22 09:41:30 -05:00
Chris Stewart
a680f03c04
Implement BIP341 (#4409)
* Implement BIP341

Get coreTest working

* REmove logger

* scalafmt

* Cleanup

* Make checkSigTapScrip() take a SchnorrPublicKey

* Address ben's code review

* Adjust error type on WitenssVersionV1.rebuild()
2022-06-22 09:36:55 -05:00
rorp
a7aad46934
Seed backup API (#4357)
* Seed backup API

* respond to the PR comments

* exportseed/importseed symmetry

* update docs
2022-06-22 08:14:11 -05:00
Shreyansh
a7ba46f67d
Update hardcoded seeds (#4412)
* update hardcoded seeds

* run tests again
2022-06-22 05:59:43 -05:00
Chris Stewart
970b6fd6eb
upgrade scalatest dependencies (#4411) 2022-06-21 15:09:20 -05:00
Shreyansh
4dc1bc7050
add bitcoind v23 rpc (#4368) 2022-06-21 13:20:47 -05:00
Chris Stewart
e25c24dc9b
Fix package name bug so package name is ra… (#4402)
* Fix package name bug so package name is bitcoin-s-server-mac-1.9.2 rather than  bitcoin-s-server-mac.os.x-1.9.2.zip

* Fix whitespace bug on mac

* Fix spacing
2022-06-21 12:41:01 -05:00
benthecarman
531845adfa
Accept keysend and amp in lnd fixtures (#4407) 2022-06-21 07:53:37 -05:00
benthecarman
9b1f8924ab
Fix download lnd command (#4406) 2022-06-19 07:59:26 -05:00
Chris Stewart
0f3c28e23e
Fix UI build instructions (#4405)
* Fix UI build instructions

* Fix 1.9.2 version of docs too
2022-06-19 07:58:40 -05:00
benthecarman
04802ae239
Add peers rpc to lnd (#4403) 2022-06-18 18:42:08 -05:00
Chris Stewart
7f43ef98ad
Default to suredbits node if peers field is left empty (#4404)
* Default to suredbits node if peers field is left empty

* Remove log
2022-06-18 18:40:53 -05:00
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