mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 18:03:12 +01:00
Merge pull request #2137 from oscarguindzberg/codecleanup1
Code clean up
This commit is contained in:
commit
c9500a8cd4
@ -65,6 +65,7 @@ class BtcDeterministicKeyChain extends DeterministicKeyChain {
|
||||
return new BtcDeterministicKeyChain(keyCrypter, aesKey, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected DeterministicKeyChain makeKeyChainFromSeed(DeterministicSeed seed) {
|
||||
return new BtcDeterministicKeyChain(seed);
|
||||
}
|
||||
|
@ -95,8 +95,6 @@ public class WalletConfig extends AbstractIdleService {
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
public interface BisqWalletFactory extends WalletProtobufSerializer.WalletFactory {
|
||||
Wallet create(NetworkParameters params, KeyChainGroup keyChainGroup);
|
||||
|
||||
Wallet create(NetworkParameters params, KeyChainGroup keyChainGroup, boolean isBsqWallet);
|
||||
}
|
||||
|
||||
|
@ -58,7 +58,8 @@ import static com.google.common.base.Preconditions.checkState;
|
||||
|
||||
// Copied from DefaultRiskAnalysis as DefaultRiskAnalysis has mostly private methods and constructor so we cannot
|
||||
// override it.
|
||||
// Only change to DefaultRiskAnalysis is removal of the RBF check.
|
||||
// The changes to DefaultRiskAnalysis are: removal of the RBF check and accept as standard an OP_RETURN outputs
|
||||
// with 0 value.
|
||||
// For Bisq's use cases RBF is not considered risky. Requiring a confirmation for RBF payments from a users
|
||||
// external wallet to Bisq would hurt usability. The trade transaction requires anyway a confirmation and we don't see
|
||||
// a use case where a Bisq user accepts unconfirmed payment from untrusted peers and would not wait anyway for at least
|
||||
|
Loading…
Reference in New Issue
Block a user