Ben Carman
acbdbfac41
Move all remaining wallet db representations ( #1885 )
2020-08-24 13:13:52 -05:00
Chris Stewart
f702410be5
Db conf on pr 1877 ( #1879 )
...
* Extend StartStopAsync with BitcoinSAppConfig, create 'CachedAppConfig' test trait, clean up P2PClientTest
* Start cleaning up after ourselves in the chainTest test suite
* Call .stop() for appConfig's spun up in ChainAppConfigTest
* Database configuration defaults
* increase number of Postgres connections
* add more logging
* close connections pools in tests
* update afterAll()
* Fix conflict
Co-authored-by: rorp <rorp@users.noreply.github.com>
2020-08-24 12:55:04 -05:00
Chris Stewart
b43d5d28f8
2020 08 22 chaintest cleanup ( #1877 )
...
* 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
* Refactor ChainUnitTest.withChainFixture() to use makeDependentFixture()
* Call .stop() for appConfig's spun up in ChainAppConfigTest
* Less parallelization on destruction of chainAppConfig
* Revert parallelExecution/fork jvm in CommonSettings
2020-08-24 11:20:02 -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
Chris Stewart
50a43d0502
Remove uncessary extension of Async 'FixtureAsyncFlatSpec' in WalletDaoFixture, it's inherited from BitcoinSWalletTest already ( #1881 )
2020-08-24 06:29:18 -05:00
Scala Steward
1660f560d4
Update postgresql to 42.2.16 ( #1873 )
2020-08-23 07:53:36 -05:00
Chris Stewart
403d70eb0b
Fix async bug with destruction of fixtures ( #1878 )
2020-08-23 07:44:53 -05:00
Ben Carman
f1b228a8ce
Move TransactionDb to Core ( #1849 )
...
* Move TransactionDb to Core
* Move to api package
2020-08-22 08:04:30 -05:00
Ben Carman
f757120681
Move AddressTagDb to Core ( #1850 )
...
* Move AddressTagDb to Core
* Move to wallet api package
2020-08-21 16:31:30 -05:00
Chris Stewart
199661df7b
Start calling appConfig.stop() in destruction fixture code ( #1868 )
...
* Start calling appConfig.stop() in destruction fixture code
* Address ben's code review
2020-08-21 14:54:23 -05:00
Ben Carman
02f02fb22b
Create KeyManager Api & move SpendingInfoDb to core ( #1848 )
...
* Create KeyManager Api & move SpendingInfoDb to core
* Fix docs, remove sealed form KeyManagerApi
* Move SpendingInfoDb to core wallet api
2020-08-21 14:37:12 -05:00
Ben Carman
1d7793cc45
Only use appenders with no Logback conf ( #1867 )
2020-08-21 13:26:31 -05:00
Ben Carman
d6975340e0
Fix selecting Utxos twice in fundRawTransactionInternal ( #1866 )
...
* Fix selecting Utxos twice in fundRawTransactionInternal
* Simplify watch an arbitrary SPK test
2020-08-21 10:11:02 -05:00
Nadav Kohen
2a1c399838
Implement basic TLV functionality ( #1847 )
...
* Defined BigSizeUInt as in BOLT 1
* Introduced UInt16 and TLV types
* Responded to review
* Responded to review
2020-08-20 14:42:16 -05:00
rorp
773dbb702e
Watch arbitrary SPKs ( #1860 )
...
* Watch arbitrary SPKs
* fix unit tests
* fix unit tests
* one more fix
* revert the compiler parameters
2020-08-20 14:33:18 -05:00
Ben Carman
8529eb7939
Cache Travis Builds ( #1859 )
2020-08-20 07:06:20 -05:00
Ben Carman
0904ba4e4e
Fix V8 Migration ( #1862 )
2020-08-19 17:04:04 -05:00
Chris Stewart
68ec48c387
Bring back strict compiler opts ( #1854 )
2020-08-19 09:17:39 -05:00
Ben Carman
9a36d791dc
Fix safely broadcast a transaction twice twice test ( #1851 )
2020-08-19 06:20:45 -05:00
Ben Carman
7c62bb285f
Remove unnecessary parallelization in Wallet ( #1823 )
...
* Remove unnecessary parallelization in Wallet
* Fix things being called multiple times
* Move to independent function
* Move helper methods to be separate
* Move back to intermediate val
2020-08-18 15:30:52 -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
rorp
874a96eb1e
Refactor wallet DB ( #1798 )
...
* Refactor wallet DB
* fix create(), update() and upsert()
* remove accout foreign key
* fix wallet fixtures
* update Postgres schema
* update SQLite schema
* fix AddressHandlingTest
* fix SQLITE_BUSY exception in TransactionProcessing
* fix RescanHandlingTest
* revert NeutrinoNodeTest
* fix SpendingInfoDAOTest
* fix SQLITE_BUSY exceptions
* fix DbManagementTest
* fix "Task rejected" Slick exceptions in Postgres mode
* responded to the PR comments
2020-08-18 13:43:12 -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
667d2bc0e5
Fix case of cli command sendwithalgo ( #1835 )
2020-08-16 16:16:27 -05:00
Ben Carman
b1b5f0ad8d
Use database to calculate number of confirmations ( #1789 )
...
* Use database to calculate number of confirmations
* Check block is in best chain
* Use db
* Optimize getNumberOfConfirmations
* Fix compile issue for older versions
* Add better logging messages
* More logs
* Update confs sequentially
2020-08-16 16:15:13 -05:00
Ben Carman
0ca5b692dc
Fix get missing utxos ( #1832 )
2020-08-16 16:14:13 -05:00
Scala Steward
b13d9ce7dc
Update sbt-native-packager to 1.7.5 ( #1838 )
2020-08-16 09:01:16 -05:00
Scala Steward
86647d3a32
Update postgresql to 42.2.15 ( #1831 )
2020-08-16 08:50:26 -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
c5f7c3d0e1
Disable logging for tests ( #1839 )
2020-08-16 08:16:30 -05:00
Chris Stewart
ff8f922684
Batch and execute headers for chain work calculation test case, this … ( #1837 )
2020-08-15 14:05:01 -05:00
Ben Carman
c9fba8ad82
Create primary key of (address, tag_type) for AddressTag table ( #1828 )
2020-08-15 12:52:00 -05:00
Chris Stewart
d65f68ea21
2020 08 14 issue 1829 ( #1833 )
...
* Fix O(n^2) behavior in BaseBlockchain.connectWalkBackwards, cache BlockHeader.hash after the first time it is called
* Revert a few files
2020-08-15 07:31:50 -05:00
Chris Stewart
11e08718ff
Attempt to batch checking of headers in chainTest to avoid reject exe… ( #1826 )
...
* Attempt to batch checking of headers in chainTest to avoid reject execution exceptions in the scala slick database queue
* Fix 2.12 compile issue
2020-08-15 07:23:26 -05:00
Chris Stewart
86f68b3b62
Fix address tag issue where we weren't adding tags to an address, we were replacing existing tags ( #1824 )
2020-08-14 10:06:28 -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
c5617f6fbe
Require utxos aren't spent when sending from outpoints ( #1817 )
2020-08-14 08:43:18 -05:00
Scala Steward
90138a956d
Update sbt-mdoc to 2.2.5 ( #1812 )
2020-08-14 08:18:37 -05:00
Ben Carman
0bd60fd6d9
Revert scalaTestPlus 3.2.1.0 -> 3.2.0.0 ( #1810 )
2020-08-13 14:05:52 -05:00
Chris Stewart
cad3c64cda
Output logger configuration on startup now ( #1814 )
...
* Output logger configuration on startup now
* Remove core-test/logback-test.xml and core/common-logback.xml, consolidate and move them into testkit/src/main/resources/logback.xml
* Add comment for logging configuration
2020-08-13 12:36:42 -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
cb962f4d95
Optimize unmarkUTXOsAsReserved ( #1804 )
2020-08-12 14:02:02 -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
Nadav Kohen
9e5e2634f8
Fixed Transaction Signing doc ( #1800 )
2020-08-12 06:26:24 -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
Scala Steward
1e41bf02e8
Update sbt-mdoc to 2.2.4 ( #1786 )
2020-08-11 09:11:39 -05:00
Ben Carman
e2294414bf
Send correct version message on node start up ( #1793 )
2020-08-11 09:11:04 -05:00