一个使用 0.3.18 新的基于账户命令的伪代码示例。
Some sample pseudocode using the new Accounts based commands in 0.3.18.
print "send to " + getaccountaddress(username) + " to fund your account"
print "send to " + getaccountaddress(username) + " to fund your account"
print "balance: " + getbalance(username, 0)
print "balance: " + getbalance(username, 0)
print "available balance: " + getbalance(username, 6)
print "available balance: " + getbalance(username, 6)
// if you make a sale, move the money from their account to your "" account
// if you make a sale, move the money from their account to your "" account
if (move(username, "", amount, 6, "purchased item"))
if (move(username, "", amount, 6, "purchased item"))
SendTheGoods()
SendTheGoods()
// withdrawal
// withdrawal
sendfrom(username, bitcoinaddress, amount, 6, "withdrawal by user")
sendfrom(username, bitcoinaddress, amount, 6, "withdrawal by user")
你能用 listtransactions(username) 向他们展示其近期交易列表。
You can use listtransactions(username) to show them a list of their recent transactions.
当前版本尚未建立逐条校对状态记录。来源核验、历史审校与当前译文校对是不同事项。
译文内容版本:b5a4e94069fb。用于比对文本,不代表校对等级或更新时间。
请填写对应原文、现译文、建议译法和理由。复制后通过你联系本站作者的渠道提交;此处不会自动发送。