这是一段伪代码,演示怎么使用基于账户的命令。它确实让网站整合容易多了。
Here's some pseudocode of how you would use the account based commands. It sure makes website integration a lot easier.
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 out of their account
move(username, "", amount, 6)
move(username, "", amount, 6)
// 提现
// withdrawal
sendfrom(username, bitcoinaddress, amount, 6)
sendfrom(username, bitcoinaddress, amount, 6)
当前版本尚未建立逐条校对状态记录。来源核验、历史审校与当前译文校对是不同事项。
译文内容版本:762fa7a8806a。用于比对文本,不代表校对等级或更新时间。
请填写对应原文、现译文、建议译法和理由。复制后通过你联系本站作者的渠道提交;此处不会自动发送。