[bisq-network/bisq] Add api method 'getpaymentacctform' (#4819)

sqrrm notifications at github.com
Tue Dec 1 22:15:59 CET 2020


@sqrrm commented on this pull request.



> + * accountName=Hal Cash Acct,
+ * tradeCurrencies=[FiatCurrency(currency=EUR)],
+ * selectedTradeCurrency=FiatCurrency(currency=EUR)
+ * )
+ * </pre>
+ */
+ at Singleton
+ at Slf4j
+public class PaymentAccountForm {
+
+    private final GsonBuilder gsonBuilder = new GsonBuilder()
+            .setPrettyPrinting()
+            .serializeNulls();
+
+    // Names of PaymentAccount fields to exclude from json forms.
+    private final String[] excludedFields = new String[]{

You can set the salt, it's used as part of the hash to create the accountAgeWitness so it needs to be set to the same salt as previously if an account is to be created on a new client with the same details and account age preserved. Making it optional is reasonable I think. Default to generate a random salt, but if set then the user set salt will be used.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/4819#discussion_r533726037
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20201201/f9b271c1/attachment.htm>


More information about the bisq-github mailing list