Ben Carman
e542a00d19
Callbacks to appconfig ( #1740 )
...
* Node Callbacks to appconfig
* Move WalletCallbacks to WalletAppConfig
* Update Docs
2020-08-04 12:27:21 -05:00
Ben Carman
e7b4ec5a1b
CLI: Handle non-json responses ( #1749 )
2020-08-04 07:24:11 -05:00
Chris Stewart
d39613e9b0
2020 07 25 optimize recalc chainwork ( #1697 )
...
* Optimize recalc Chainwork
* Typo and warning fixes
* Rename force recalc cli option
* Always update gensis header
* Add config option
* Fix config option
* Add to example config
Co-authored-by: Ben Carman <benthecarman@live.com>
2020-07-31 10:43:04 -05:00
Ben Carman
51d35e24e9
Fix Node Startup Issue ( #1683 )
...
* Fix Node Startup Issue
* Small fixes
* Add option to force chain work recalc
2020-07-29 09:37:20 -05:00
Ben Carman
26d5a09532
Move Node type of out Wallet API ( #1708 )
...
* Move Node type of out wallet api
* Remove extensions, add scaladocs
2020-07-29 05:57:48 -05:00
Ben Carman
82ba6fc09f
Wallet API remove app config ( #1706 )
2020-07-28 15:19:10 -05:00
Nadav Kohen
faf2e0148a
Fix All Loggers! ( #1695 )
...
* Fixed logging so that appenders are always started when logging is happening
* Started rolling policy so that file appenders could start in getLoggerImpl
2020-07-28 07:13:38 -05:00
Ben Carman
ece26c08e6
Wallet API move execution context ( #1707 )
2020-07-28 07:00:59 -05:00
Ben Carman
4abcf3f321
Create HDWalletApi ( #1693 )
...
* Create HDWalletApi
* Rename createWallet to createHDWallet, add listDefaultAccountUtxos function
* Change return types to HDWalletApi
* Fix warning
2020-07-27 14:06:48 -05:00
Chris Stewart
87e9a279c6
Move where we call wallet.start() and node.start() to the same place to avoid initializaiton issue 1687 ( #1689 )
2020-07-21 12:04:29 -05:00
Ben Carman
9a35f16913
Start server before sync ( #1682 )
...
* Start server before sync
* Move promise call
2020-07-19 10:40:36 -05:00
Chris Stewart
feb279be9e
Remove the akka boiler plate needed to get around issue 1508 ( #1657 )
2020-07-10 12:39:43 -05:00
Ben Carman
120cca072b
Give more descriptive error when there are no peers set ( #1652 )
2020-07-09 15:28:47 -05:00
Ben Carman
194370622d
Move BIP 143 invariant for PSBTs to allow signed transactions ( #1631 )
...
* Move BIP143 invariant for PSBTs to allow signed transactions
* Fix RoutesSpec test
* Fix test
2020-07-07 14:36:03 -05:00
Ben Carman
365d98da10
Add extra logs, fix best filter bug ( #1624 )
...
* Add extra logs, fix best filter bug
* Fix to work for when filter count != header count
* Put blockheader items baack in place
2020-07-06 11:38:53 -05:00
Ben Carman
fdd5bc9ccc
Fix gui theme to correctly color the button bar ( #1626 )
2020-07-06 11:11:25 -05:00
Ben Carman
9016f0bbca
Rescan when UTXOs don't have associated transactions ( #1562 )
...
* Rescan for missing utxos
* Move to Wallet.start
* Start and stop wallet threads with wallet
* Fix warning
2020-06-25 07:58:10 -05:00
Scala Steward
ea39f38443
Update scalatest to 3.2.0 ( #1592 )
...
* Update scalatest to 3.2.0
* Fix tests to be compatible
Co-authored-by: Ben Carman <benthecarman@live.com>
2020-06-20 08:46:32 -05:00
Scala Steward
97a4886c6e
Update scalafmt-core to 2.6.0 ( #1579 )
...
* Update scalafmt-core to 2.6.0
* Upgrade scalafmt, fix all formatting errors
* Scalafmt on 2.12
* fix test
* More fixes
Co-authored-by: Ben Carman <benthecarman@live.com>
2020-06-19 10:38:12 -05:00
Nadav Kohen
a1d17ab662
Added DLC GUI stuff to a new package in the existing GUI and made a new tab for DLCs ( #1590 )
...
Co-authored-by: Ben Carman <benthecarman@live.com>
2020-06-18 15:23:53 -05:00
Nadav Kohen
9237074510
Pulled down dlc CLI code ( #1589 )
...
* Pulled down dlc CLI code (returns 400 Bad Request when called)
* Added decodeRawTransaction to server
* Moved decoderawtransaction to CoreRoutes
Co-authored-by: Ben Carman <benthecarman@live.com>
2020-06-18 13:55:17 -05:00
Ben Carman
5319b4c927
Wallet callbacks ( #1543 )
...
* Wallet Callbacks
* Move noop to Callback
* Add docs
* Add tests for wallet callbacks
* Use BitcoinAddress instead of AddressDb, improve tests
2020-06-17 17:21:19 -05:00
Chris Stewart
dec503f561
2020 06 12 mv to appconfig ( #1553 )
...
* Move hasWallet() to WalletAppConfig
* Move helper methods to create data dstructures in a project to their respective AppConfig file
2020-06-16 12:49:32 -05:00
Nadav Kohen
3912a02f53
Added BlockTimeStamp abstraction for BlockStamps that aren't hashes ( #1573 )
...
* Added BlockTimeStamp abstraction for BlockStamps that aren't hashes
* Made BlockStamp and BlockTimeStamp extend StringFactory
2020-06-16 10:54:37 -05:00
Ben Carman
1731bd3163
Callback rework ( #1542 )
2020-06-15 17:30:08 -05:00
Nadav Kohen
027bd39474
Fixed all walletTest threads not being closed ( #1552 )
2020-06-15 10:50:53 -05:00
Chris Stewart
c54d6dcbdc
2020 06 09 addr invoice string factory ( #1538 )
...
* Implement StringFactory with Address and LnInvoice
* Address code review
* Run scalafmt
2020-06-11 10:44:12 -05:00
Chris Stewart
f9f1e89a07
Break things up in server/Main.scala, allow things to be done asynchr… ( #1522 )
...
* Break things up in server/Main.scala, allow things to be done asynchronously where they can be
* Rework Main.scala to have small methods that are used to initialize parts of our infra. Now it doesn't depend on global variables in Main either, they are implictly passed to these helper methods
2020-06-09 07:44:37 -05:00
Chris Stewart
b52ec8b041
Introduced bundle project and created main class that runs server and then gui ( #1531 )
...
Co-authored-by: nkohen <nadavk25@gmail.com>
2020-06-08 08:32:38 -05:00
Chris Stewart
32c06cbe81
2020 06 05 mv chainwork calc ( #1519 )
...
* Fix Chaindb chainwork Migration
* Move chain work calculation out of node, use the ChainApi returnd by runChainWorkCalc()
Co-authored-by: Ben Carman <benthecarman@live.com>
2020-06-05 11:04:09 -05:00
Ben Carman
2f53379f16
Add docs for server endpoints ( #1505 )
2020-06-04 06:41:07 -05:00
Chris Stewart
5aeb8ebdd1
Bump akka to 2.6.4, fix deprecated things ( #1374 )
...
* Bump akka to 2.6.4, fix deprecated things
* Bump to 2.6.5 akka
* Clean up imports
* Remove materializer from FeeProviders
2020-05-30 08:49:28 -05:00
Ben Carman
c10d5bc89b
Fee Rate Api Support ( #1470 )
...
* Fee Rate Api Support
* FeeRateProvider Tests
* Rename folder
* Fix docs
2020-05-29 13:01:20 -05:00
Ben Carman
99db9062ac
Add option to correctly use logback config ( #1398 )
...
* Logger now uses correct parent logger for all, names appenders correctly
* Set logback to true for tests, rename file
* Fix docs
2020-05-20 15:46:24 -05:00
Ben Carman
b240130c76
Remove GUI unused imports ( #1440 )
2020-05-18 14:36:45 -05:00
Ben Carman
51fcb793be
Add ability to make OP_RETURN commitments ( #1417 )
2020-05-18 14:27:05 -05:00
Ben Carman
e44a08bd39
Wallet Send with coin selection algorithim ( #1409 )
2020-05-18 11:26:39 -05:00
Ben Carman
6067991e02
Add bitcoin-s icon, add dark theme to dialogs ( #1425 )
2020-05-18 11:16:41 -05:00
Nadav Kohen
4eb9980d6b
InputInfo Refactor ( #1400 )
...
Added OutputReference and introduced public key computation on SPKs
Made InputInfo into an ADT
Made UTXOSpendingInfo use InputInfo
Replaced UTXOSpendingInfo with NewSpendingInfo and got non-test things compiling
Made aliases for (NewSpendingInfo/NewSpendingInfoFull/NewSpendingInfoSingle)[InputInfo]
Got rid of source code mention of UTXOSpendingInfo
sbt compile passes
tests compile
Fixed all coreTest tests
Renamed to UTXOInfo
Some cleanup
Moved redeem script and script witness accessors to companion object
Responded to code review
Added OutputReference and scaladocs
Moved p2pkhPreImageOpt downstream and generalized to hashPreImages
Fixed adding-spks.md
Fixed psbts.md and txbuilder.md
Renamed UTXOInfo
Apply renaming to docs
2020-05-15 11:14:15 -05:00
Ben Carman
867e2a9755
Add list unused addresses call ( #1408 )
2020-05-12 09:29:02 -05:00
Ben Carman
711f5cb99c
Add listFundedAddresses call ( #1407 )
2020-05-12 07:33:22 -05:00
Ben Carman
721b28aefd
Add listSpentAddresses call ( #1406 )
2020-05-12 07:24:52 -05:00
Ben Carman
c571585b3b
Wallet send from outpoints ( #1405 )
2020-05-12 07:24:36 -05:00
Chris Stewart
40c4af93a7
Modify gui background color to be same as our website ( #1404 )
2020-05-09 08:03:29 -05:00
Chris Stewart
83b6a74b18
Add rpcport configuration options in both bitcoin-s.conf and as a command line parameter ( #1387 )
...
Implement ability to specify rpcport with bitcoin-s-cli
2020-05-04 19:09:32 -05:00
Nadav Kohen
a503441619
Crypto Project Refactor ( #1380 )
...
* Added crypto project and decoupled BitcoinSLogger from NetworkElement
Decoupled BitcoinSLogger from Factory
Moved NetworkElement into crypto project
Moved Factory and BitcoinSUtil (renamed to BytesUtil) to crypto project
Moved MaskedToString to crypto project
Added BytesUtil to imports and cleaned up CryptoUtil.recoverPoint
Moved the rest of crypto stuff to the crypto project
Moved crypto tests to crypto-test project
* Added documentation for crypto project
2020-04-30 12:34:53 -05:00
Ben Carman
90030719e5
Log correct type of node sync ( #1384 )
...
* Log correct type of node sync
* Fix stopped node logs
2020-04-30 12:10:48 -05:00
Ben Carman
6d7685b76e
Add wallet creation time for rescans ( #1353 )
...
* Add wallet creation time for rescans
* Fix docs
* Clean up and add test
* Remove account bday
* Fix compile issue and docs
* Add more chain handler tests
* Use Instant over Long, add docs
* Fix docs
2020-04-29 09:49:41 -05:00
Ben Carman
4234561db9
Remove Unlocked vs Locked Wallet distinction ( #1379 )
...
* Remove Unlocked vs Locked Wallet distinction
* Add back TODO comment
2020-04-28 13:58:14 -05:00
Ben Carman
37c62369eb
Batch processing compact filters ( #1363 )
...
* Batch processing compact filters
* Use one vector, rename param
* Fix compile issue on older versions
* Process sequentially
2020-04-26 09:34:41 -05:00