Ben Carman
d41369fc27
trivial: Set timezone and print it in logs ( #2046 )
2020-09-22 14:03:42 -05:00
Ben Carman
145c1d2c74
trivial: Change default logging level to info ( #2043 )
2020-09-22 07:31:18 -05:00
Ben Carman
fb7335d758
Create Cli function for reserving and unreserving utxos ( #2035 )
2020-09-21 12:37:15 -05:00
Ben Carman
8361ff6e08
Merge pull request #2019
...
* Refactor logging to only use grizzled slf4j
* Fix docs
* test travis config change
2020-09-19 14:09:12 -05:00
Chris Stewart
449e205b8b
Introduce 'FilterSyncMarker' to ChainApi, make it clearier what exact… ( #2003 )
...
* Introduce 'FilterSyncMarker' to ChainApi, make it clearier what exactly the (Int,DoubleSha256Digest) tuple is returned from ChainApi.nextBlockHeaderRange()
* Fix doc
* Add scaladoc to FilterSyncMarker
* Rebase onto master, fix conflicts to use FilterSyncMarker
2020-09-11 13:48:40 -05:00
Ben Carman
e353d2181f
Throw errors that occurr in startup ( #1950 )
...
* Throw errors that occurr in startup
* Add testing ability to runMain
2020-09-10 08:11:46 -05:00
rorp
8d1d0fcba8
Update callbacks for LN support ( #1938 )
...
Update callbacks for LN support
2020-09-09 11:02:31 -07:00
Chris Stewart
9a1dfdfdbd
Remove AppConfig.initialize() in favor of AppConfig.start() ( #1907 )
...
* Remove AppConfig.initialize() in favor of AppConfig.start()
* Fix docs
2020-08-26 16:24:38 -05:00
Ben Carman
c9c18fabc5
Create ADT for NodeType instead of booleans ( #1901 )
2020-08-26 07:28:35 -05:00
Chris Stewart
a9ad927a9c
Apply string factory to a bunch of easy things ( #1891 )
...
* Apply string factory to a bunch of easy things
* Refactor HDPath, ExtKey, and LnTagPrefix to use StringFactory
* Implemen StringFactory on LnHumanReadablePart, ScriptType, ServiceIdentifier
* Implement StringFactory on AesCrypt, NodeUri, AddressTag, PSBT, TxoState
* Fix failing tests, fix website compile
* Apply StringFactory to all ScriptOperations, ChannelState, Script Parsing
2020-08-25 10:48:37 -05:00
Ben Carman
4cdbeafb58
Move ChainApi to core ( #1888 )
...
* Move Chain Db Reps to core
* Move ChainApi to Core
2020-08-25 07:08:42 -05:00
Ben Carman
66ec89bcab
Move WalletApi to Core ( #1890 )
2020-08-25 07:05:20 -05:00
Ben Carman
28ff3186e4
Move WalletApi necessities to core ( #1886 )
2020-08-24 17:26:58 -05:00
Chris Stewart
e4460bb07f
2020 08 21 clean broadcast dao ( #1875 )
...
* Clean up code for BroadcastDAO test
* Extend StartStopAsync with BitcoinSAppConfig, create 'CachedAppConfig' test trait, clean up P2PClientTest
* Make MerkleBuffersTest use CachedAppConfig
* Start cleaning up after ourselves in the chainTest test suite
* Cancel background runnable for generating blocks after test case, add nodeAppConfig.stop() to tests in NodeAppConfigTest
* Stop mainnet nodeAppConfig in test as per ben's code review
2020-08-24 11:19:41 -05:00
Ben Carman
350928beca
Correcly use reference.conf file ( #1869 )
...
* Correcly use reference.conf file
* Fix for network specific filter header batch size config option
* Add to other conf files
2020-08-24 06:30:16 -05:00
Ben Carman
6e2c811789
Rolling log file location ( #1846 )
...
* Rolling log file location
* Fix file name
2020-08-18 14:37:22 -05:00
Ben Carman
26f47d269c
Fix server parsing for send to address ( #1819 )
2020-08-17 09:49:50 -05:00
Ben Carman
a3a2248aa1
Add missing route for getaddressinfo ( #1834 )
2020-08-17 06:27:16 -05:00
Ben Carman
60e82894d7
Don't wait for rescan completion to send message ( #1836 )
2020-08-16 08:46:36 -05:00
Ben Carman
9dc7b2c0dd
Remove default false for useLogbackConf ( #1816 )
...
* Remove default false for useLogbackConf
* Fix docs
* Set logging level to WARN for tests
2020-08-14 08:53:07 -05:00
Ben Carman
47e305e1aa
Config CLI option, datadir correctly read from config ( #1807 )
...
* Config CLI option, datadir correctly read from config
* Change --config to --conf, add docs
2020-08-13 10:53:25 -05:00
Ben Carman
1f6e2249ea
Address Tagging/Labeling Support from CLI ( #1790 )
...
* Address Tagging/Labeling Support from CLI
* Scaladoc
2020-08-12 10:55:15 -05:00
Ben Carman
e247289c34
Make Akka log to file correctly ( #1801 )
2020-08-12 07:52:51 -05:00
Chris Stewart
fa388c7448
Create more of a project structure in org.bitcoins.core.api, move DbR… ( #1799 )
...
* Create more of a project structure in org.bitcoins.core.api, move DbRowAutoInc into the core project
* Get website compiling again
2020-08-12 06:13:23 -05:00
Ben Carman
d72316722d
Bump stop timeout ( #1797 )
2020-08-11 09:10:06 -05:00
Ben Carman
1a8013242b
Fix for Wallet confirmed states ( #1782 )
...
* Fix for Wallet confirmed states
* Only process if we do not have the header
2020-08-08 08:12:30 -05:00
Ben Carman
26aee5eb6b
Better return message for bitcoin-s-cli stop ( #1777 )
2020-08-07 12:31:58 -05:00
Ben Carman
7db465f222
Callbacks to appconfig ( #1740 )
...
* Node Callbacks to appconfig
* Move WalletCallbacks to WalletAppConfig
* Update Docs
2020-08-04 12:27:21 -05:00
Chris Stewart
5e80795c77
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
728a4a841f
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
d6ce8dee0b
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
Nadav Kohen
436396773d
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
24f83d2802
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
674c376dd7
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
0ee735424c
Start server before sync ( #1682 )
...
* Start server before sync
* Move promise call
2020-07-19 10:40:36 -05:00
Chris Stewart
2d8ad5b14e
Remove the akka boiler plate needed to get around issue 1508 ( #1657 )
2020-07-10 12:39:43 -05:00
Ben Carman
8b85751b46
Give more descriptive error when there are no peers set ( #1652 )
2020-07-09 15:28:47 -05:00
Ben Carman
8f3bcbb949
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
021e21d61b
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
e6d1471af0
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
a84543cff5
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
e63061e9b9
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
4ee234d999
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
fb99307867
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
041f805730
Callback rework ( #1542 )
2020-06-15 17:30:08 -05:00
Nadav Kohen
6b1973264e
Fixed all walletTest threads not being closed ( #1552 )
2020-06-15 10:50:53 -05:00
Chris Stewart
7784087bd5
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
b0229090d1
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
c54ee10809
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
Chris Stewart
8d21cd1378
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