mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-02 05:27:17 +00:00
1) Re-factored PostgresFullPrunedBlockStore and H2FullPrunedBlockStore into a generic DatabaseFullPrunedBlockStore class.
2) H2FullPrunedBlockStore now supports calculateBalanceForAddress() method. 3) Created an additional store for MySQL (MySQLFullPrunedBlockStore) and unit test. 4) Fixed unit test PostgresFullPrunedBlockStoreTest, second time execution was failing due to not clearing down the tables correctly. 5) Added methods getOpenTransactionOutputs() & deleteStore() to base class DatabaseFullPrunedBlockStore.
This commit is contained in:
committed by
Mike Hearn
parent
580a67c0b7
commit
fbf62614b4
13
core/pom.xml
13
core/pom.xml
@@ -441,15 +441,20 @@
|
||||
<artifactId>scrypt</artifactId>
|
||||
<version>1.4.0</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Add in to test/use Postgres blockstore -->
|
||||
<!--
|
||||
<!-- Note this is an optional dependency: Postgres blockstore -->
|
||||
<dependency>
|
||||
<groupId>postgresql</groupId>
|
||||
<artifactId>postgresql</artifactId>
|
||||
<version>9.1-901.jdbc4</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<!-- Note this is an optional dependency: MySQL blockstore -->
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
<version>5.1.33</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
-->
|
||||
<dependency>
|
||||
<groupId>org.bitcoinj</groupId>
|
||||
<artifactId>orchid</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user