Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getaccountaddress 回傳都回default address #3

Closed
willliw opened this issue Mar 3, 2016 · 1 comment
Closed

getaccountaddress 回傳都回default address #3

willliw opened this issue Mar 3, 2016 · 1 comment

Comments

@willliw
Copy link
Contributor

willliw commented Mar 3, 2016

2016-03-03 7 32 31

@willliw
Copy link
Contributor Author

willliw commented Mar 4, 2016

紀錄一下:因為getnewaddress只回傳reserve key,會導致key pool的使用狀況出現問題。新增了一個rpc: getfixedaddress回傳wallet裡面的default key 用以取代我們來驗正身份的identity。讓getnewaddress去向key pool拿新的key。如此account不會出現太大的問題,只是仍有一些不常用的account function處理不好,像是getaddressesbyaccount 後面如果是新的account的話,又會導致key pool亂掉,但影響沒有很嚴重。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant