Merge #657: Better explain the 8-decimal asset issuance.

4089122 Better explain the 8-decimal asset issuance. (Gregory Sanders)

Pull request description:

  Since this RPC call is likely the first place people are exposed to this UI quirk, explain it here.

Tree-SHA512: 0d0e5d576e772facecc6632b9966c689946d76ea5b2a4faf7d790d7147ac542c952f20283458675f9753228c371a9ce16bd2599d317615c06863cce21ae20f7a
This commit is contained in:
Gregory Sanders 2019-06-13 09:36:33 -04:00
commit 3689bc83dd
No known key found for this signature in database
GPG key ID: F3F68E2D86A48FDB

View file

@ -5960,8 +5960,8 @@ UniValue issueasset(const JSONRPCRequest& request)
"For more fine-grained control such as non-empty contract-hashes to commit\n"
"to an issuance policy, see `rawissueasset` RPC call.\n",
{
{"assetamount", RPCArg::Type::AMOUNT, RPCArg::Optional::NO, "Amount of asset to generate."},
{"tokenamount", RPCArg::Type::AMOUNT, RPCArg::Optional::NO, "Amount of reissuance tokens to generate. These will allow you to reissue the asset if in wallet using `reissueasset`. These tokens are not consumed during reissuance."},
{"assetamount", RPCArg::Type::AMOUNT, RPCArg::Optional::NO, "Amount of asset to generate. Note that the amount is BTC-like, with 8 decimal places."},
{"tokenamount", RPCArg::Type::AMOUNT, RPCArg::Optional::NO, "Amount of reissuance tokens to generate. Note that the amount is BTC-like, with 8 decimal places. These will allow you to reissue the asset if in wallet using `reissueasset`. These tokens are not consumed during reissuance."},
{"blind", RPCArg::Type::BOOL , /* default */ "true", "Whether to blind the issuances."},
},
RPCResult{
@ -6060,7 +6060,7 @@ UniValue reissueasset(const JSONRPCRequest& request)
"For more fine-grained control such as reissuing from a multi-signature address cold wallet, see `rawreissueasset` RPC call.\n",
{
{"asset", RPCArg::Type::STR, RPCArg::Optional::NO, "The asset you want to re-issue. The corresponding token must be in your wallet."},
{"assetamount", RPCArg::Type::AMOUNT, RPCArg::Optional::NO, "Amount of additional asset to generate."},
{"assetamount", RPCArg::Type::AMOUNT, RPCArg::Optional::NO, "Amount of additional asset to generate. Note that the amount is BTC-like, with 8 decimal places."},
},
RPCResult{
"{ (json object)\n"