forked from bisq-network/bisq2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from alvasw/add_bitcoind_wallet_support
Integrate Bitcoind as a wallet backend into Misq
- Loading branch information
Showing
36 changed files
with
1,448 additions
and
221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
wallets/src/main/java/network/misq/wallets/AddressType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package network.misq.wallets; | ||
|
||
public enum AddressType { | ||
LEGACY("legacy"), | ||
P2SH_SEGWIT("p2sh-segwit"), | ||
BECH32("bech32"); | ||
|
||
private final String name; | ||
|
||
AddressType(String name) { | ||
this.name = name; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
wallets/src/main/java/network/misq/wallets/NetworkType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package network.misq.wallets; | ||
|
||
public enum NetworkType { | ||
MAINNET(8332), | ||
TESTNET(18332), | ||
SIGNET(38332), | ||
REGTEST(18443); | ||
|
||
private final int rpcPort; | ||
|
||
NetworkType(int rpcPort) { | ||
this.rpcPort = rpcPort; | ||
} | ||
|
||
public int getRpcPort() { | ||
return rpcPort; | ||
} | ||
} |
Oops, something went wrong.