0

I'm doing my bachelor project in web development using Bitcoin RPC. At the moment it uses the deprecated accounts feature, but i'd really like to upgrade to using the newer label feature instead. However is it currently useable on the master branch, or should i wait until v0.17 is fully released? (this is unfortunately after my hand-in date), so if that's the case, i guess i have to stick to using accounts?

Sources: https://github.com/bitcoin/bitcoin/pull/7729 https://github.com/bitcoin/bitcoin/pull/12953

1

Yes, you can use the current Labels function as it is now.

  • Thank you! Is there anywhere i can view which commands are available in the Labels function in it's current state, without compiling/building from source? It seems like the RPC documentation hasn't been updated yet. – Peter Dalby May 9 '18 at 6:31
  • Seems like these are available: imgur.com/a/hgSaKWS Do you know of anything else that i might have missed? I'll gladly update the RPC documentation with the info, just want to make sure i don't miss anything. :-) I also wonder if we'll see a comeback of the sendfrom function to use labels? Or will sendtoaddress still be recommended? – Peter Dalby May 9 '18 at 6:56
  • Also what about functions such as listtransactions, have they been updated to accept a label as a parameter, instead of an account? – Peter Dalby May 9 '18 at 8:03
  • There are documentation of the changes in github.com/bitcoin/bitcoin/blob/master/doc/…. Please do not update any other RPC documentation until the version is actually released. Using labels is largely the same as using accounts in the past. – Andrew Chow May 9 '18 at 16:06
  • Thanks again Andrew. Since SendToAddress debits the default user account/label, how are developers supposed to transfer money from registered wallet users account/label to the default one, with the removal of the move command? Are we supposed to SendToAddress to the default account/label, then do another SendToAddress afterwards to the users specified address? Seems a bit silly to have two blockchain transactions. From my understanding move was removed due to accounts not intended to be an accounting system, but a lot of people seemed to get the understanding that it was exactly that... – Peter Dalby May 10 '18 at 17:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.