Skip to content

Commit

Permalink
Merge pull request #2759 from alvasw/regtest_apply_bitcoin_gradle_plugin
Browse files Browse the repository at this point in the history
regtest: Apply bitcoin binary Gradle plugin
  • Loading branch information
HenrikJannsen authored Sep 4, 2024
2 parents 2f7d4cf + b35ece2 commit 118c178
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,7 @@ public static class Result {
private BitcoindGetMineBalancesResponse mine;
@Json(name = "watchonly")
private BitcoindGetMineBalancesResponse watchOnly;
@Json(name = "lastprocessedblock")
private BitcoindGetLastProcessedBlockBalancesResponse lastProcessedBlock;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package bisq.wallets.bitcoind.rpc.responses;

import lombok.Getter;

@Getter
public class BitcoindGetLastProcessedBlockBalancesResponse {
private String hash;
long height;
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ public class BitcoindWalletProcessPsbtResponse extends JsonRpcResponse<BitcoindW
public static class Result {
private String psbt;
private boolean complete;
private String hex;
}
}
13 changes: 13 additions & 0 deletions wallets/regtest/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
plugins {
id("bisq.java-library")
id("bisq.gradle.bitcoin_core.BitcoinCorePlugin")
}

bitcoin_core {
version.set("27.1")
}

sourceSets {
main {
resources {
srcDir(layout.buildDirectory.file("generated/src/main/resources"))
}
}
}

dependencies {
Expand Down

0 comments on commit 118c178

Please sign in to comment.