org.bitcoinj.store.MySQLFullPrunedBlockStore Java Examples

The following examples show how to use org.bitcoinj.store.MySQLFullPrunedBlockStore. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MySQLFullPrunedBlockChainTest.java    From bcm-android with GNU General Public License v3.0 4 votes vote down vote up
@After
public void tearDown() throws Exception {
    ((MySQLFullPrunedBlockStore) store).deleteStore();
}
 
Example #2
Source File: MySQLFullPrunedBlockChainTest.java    From bcm-android with GNU General Public License v3.0 4 votes vote down vote up
@Override
public FullPrunedBlockStore createStore(NetworkParameters params, int blockCount)
        throws BlockStoreException {
    return new MySQLFullPrunedBlockStore(params, blockCount, DB_HOSTNAME, DB_NAME, DB_USERNAME, DB_PASSWORD);
}
 
Example #3
Source File: MySQLFullPrunedBlockChainTest.java    From bcm-android with GNU General Public License v3.0 4 votes vote down vote up
@Override
public void resetStore(FullPrunedBlockStore store) throws BlockStoreException {
    ((MySQLFullPrunedBlockStore) store).resetStore();
}
 
Example #4
Source File: MySQLFullPrunedBlockChainTest.java    From green_android with GNU General Public License v3.0 4 votes vote down vote up
@After
public void tearDown() throws Exception {
    ((MySQLFullPrunedBlockStore)store).deleteStore();
}
 
Example #5
Source File: MySQLFullPrunedBlockChainTest.java    From green_android with GNU General Public License v3.0 4 votes vote down vote up
@Override
public FullPrunedBlockStore createStore(NetworkParameters params, int blockCount)
        throws BlockStoreException {
    return new MySQLFullPrunedBlockStore(params, blockCount, DB_HOSTNAME, DB_NAME, DB_USERNAME, DB_PASSWORD);
}
 
Example #6
Source File: MySQLFullPrunedBlockChainTest.java    From green_android with GNU General Public License v3.0 4 votes vote down vote up
@Override
public void resetStore(FullPrunedBlockStore store) throws BlockStoreException {
    ((MySQLFullPrunedBlockStore)store).resetStore();
}
 
Example #7
Source File: MySQLFullPrunedBlockChainTest.java    From GreenBits with GNU General Public License v3.0 4 votes vote down vote up
@After
public void tearDown() throws Exception {
    ((MySQLFullPrunedBlockStore)store).deleteStore();
}
 
Example #8
Source File: MySQLFullPrunedBlockChainTest.java    From GreenBits with GNU General Public License v3.0 4 votes vote down vote up
@Override
public FullPrunedBlockStore createStore(NetworkParameters params, int blockCount)
        throws BlockStoreException {
    return new MySQLFullPrunedBlockStore(params, blockCount, DB_HOSTNAME, DB_NAME, DB_USERNAME, DB_PASSWORD);
}
 
Example #9
Source File: MySQLFullPrunedBlockChainTest.java    From GreenBits with GNU General Public License v3.0 4 votes vote down vote up
@Override
public void resetStore(FullPrunedBlockStore store) throws BlockStoreException {
    ((MySQLFullPrunedBlockStore)store).resetStore();
}