From c12dac9a25ef410f8f1bb77dd6b1ea12c4e0b002 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Fri, 1 Mar 2024 10:06:10 +0200 Subject: [PATCH] add standard accounts 10-30 --- .../drongo/wallet/StandardAccount.java | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/main/java/com/sparrowwallet/drongo/wallet/StandardAccount.java b/src/main/java/com/sparrowwallet/drongo/wallet/StandardAccount.java index 0cc9898..248d282 100644 --- a/src/main/java/com/sparrowwallet/drongo/wallet/StandardAccount.java +++ b/src/main/java/com/sparrowwallet/drongo/wallet/StandardAccount.java @@ -16,10 +16,32 @@ public enum StandardAccount { ACCOUNT_7("Account #7", new ChildNumber(7, true)), ACCOUNT_8("Account #8", new ChildNumber(8, true)), ACCOUNT_9("Account #9", new ChildNumber(9, true)), + ACCOUNT_10("Account #10", new ChildNumber(10, true)), + ACCOUNT_11("Account #11", new ChildNumber(11, true)), + ACCOUNT_12("Account #12", new ChildNumber(12, true)), + ACCOUNT_13("Account #13", new ChildNumber(13, true)), + ACCOUNT_14("Account #14", new ChildNumber(14, true)), + ACCOUNT_15("Account #15", new ChildNumber(15, true)), + ACCOUNT_16("Account #16", new ChildNumber(16, true)), + ACCOUNT_17("Account #17", new ChildNumber(17, true)), + ACCOUNT_18("Account #18", new ChildNumber(18, true)), + ACCOUNT_19("Account #19", new ChildNumber(19, true)), + ACCOUNT_20("Account #20", new ChildNumber(20, true)), + ACCOUNT_21("Account #21", new ChildNumber(21, true)), + ACCOUNT_22("Account #22", new ChildNumber(22, true)), + ACCOUNT_23("Account #23", new ChildNumber(23, true)), + ACCOUNT_24("Account #24", new ChildNumber(24, true)), + ACCOUNT_25("Account #25", new ChildNumber(25, true)), + ACCOUNT_26("Account #26", new ChildNumber(26, true)), + ACCOUNT_27("Account #27", new ChildNumber(27, true)), + ACCOUNT_28("Account #28", new ChildNumber(28, true)), + ACCOUNT_29("Account #29", new ChildNumber(29, true)), + ACCOUNT_30("Account #30", new ChildNumber(30, true)), WHIRLPOOL_PREMIX("Premix", new ChildNumber(2147483645, true), ScriptType.P2WPKH, null), WHIRLPOOL_POSTMIX("Postmix", new ChildNumber(2147483646, true), ScriptType.P2WPKH, Wallet.DEFAULT_LOOKAHEAD * 2), WHIRLPOOL_BADBANK("Badbank", new ChildNumber(2147483644, true), ScriptType.P2WPKH, null); + public static final List DISCOVERY_ACCOUNTS = List.of(ACCOUNT_0, ACCOUNT_1, ACCOUNT_2, ACCOUNT_3, ACCOUNT_4, ACCOUNT_5, ACCOUNT_6, ACCOUNT_7, ACCOUNT_8, ACCOUNT_9, WHIRLPOOL_PREMIX, WHIRLPOOL_POSTMIX, WHIRLPOOL_BADBANK); public static final List MIXABLE_ACCOUNTS = List.of(ACCOUNT_0, WHIRLPOOL_BADBANK); public static final List WHIRLPOOL_ACCOUNTS = List.of(WHIRLPOOL_PREMIX, WHIRLPOOL_POSTMIX, WHIRLPOOL_BADBANK); public static final List WHIRLPOOL_MIX_ACCOUNTS = List.of(WHIRLPOOL_PREMIX, WHIRLPOOL_POSTMIX);