SN-2002 已核对来源,附原文与上下文。
我已经有了类似东西的开头。大体上和 Gavin 描述的一样。
I have the beginning of something like this. It's mostly like what Gavin described.
再补充一些 rpc 接口:
Some more rpc interface:
move
move
从一个内部账户转到另一个。我想空白账户名("")会是你的默认账户。如果你卖东西给某个用户,能执行 move "theiraccount" "" 123.45。
Move from one internal account to another. I think blank account name ("") will be your default account. If you sell something to a user, you could do move "theiraccount" "" 123.45.
"move" 是这个名字的最佳选择吗?我避开了 "transfer",因它听起来太像发送一笔交易。
Is "move" the best name for this? I shied away from "transfer" because that sounds too close to sending a transaction.
我在考虑新增一个 getaccountaddress 函数,而不是重载 getnewaddress:
I'm thinking a new function getaccountaddress instead of overloading getnewaddress:
getaccountaddress
getaccountaddress
给你一个从 getnewaddress
Gives you an address allocated from getnewaddress
这些命令能不能让简单场景下不用自建数据库就实现你的网站?
Would these commands make it possible in simple cases to implement your website without needing a database of your own?