Bitcoin Forum
May 24, 2019, 06:31:41 AM *
News: Latest Bitcoin Core release: 0.18.0 [Torrent] (New!)
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Which bitcoin core version is best for Merchant website  (Read 178 times)
annie9771
Member
**
Offline Offline

Activity: 100
Merit: 10


View Profile
July 30, 2018, 03:19:04 PM
 #1

Task : to accept and sent payments in bitcoin
Issue : i am using bitcoin-core version 0.16.2 , but i can see many functions are not working e.g

./src/bitcoin-cli  getaccountaddress "annie"
error code: -32
error message:getaccountaddress is deprecated and will be removed in V0.18. To use this command, start bitcoind with -deprecatedrpc=accounts.


so that's mean everytime on new version we have to change our code ? how to deal with this , please help me
1558679501
Hero Member
*
Offline Offline

Posts: 1558679501

View Profile Personal Message (Offline)

Ignore
1558679501
Reply with quote  #2

1558679501
Report to moderator
1558679501
Hero Member
*
Offline Offline

Posts: 1558679501

View Profile Personal Message (Offline)

Ignore
1558679501
Reply with quote  #2

1558679501
Report to moderator
1558679501
Hero Member
*
Offline Offline

Posts: 1558679501

View Profile Personal Message (Offline)

Ignore
1558679501
Reply with quote  #2

1558679501
Report to moderator
PLAY OVER 3000 GAMES
LIGHTNING FAST WITHDRAWALS
PLAY NOW
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
MadGamer
Legendary
*
Offline Offline

Activity: 1400
Merit: 1020


Fun of WINBIX sales system winbix.io


View Profile
July 30, 2018, 03:53:05 PM
 #2

Start bitcoind with -deprecatedrpc=accounts as they said, that should work.

and to answer your question, no. You won't necessarily need to change your code after each release.


   ▃▆█▀███████████████████▆
  ████████
█████████████████████▄
 █████████████
██████████████████▌
█████████████████
▀███████████████
█████████████████████
▀███████████
█████████████████████
▄██████████
█████████████████
▄██████████████
██████████████
▄██████████████████
████████████
█████████████████████
██████████████
▀██████████████████
██████████████████
▀██████████████
██████████████████████▄
▀█████████
█████████████████████
▄███████████
█████████████████
▄▄██████████████
 ████████████
▄▄█████████████████▌
  ███████
▄████████████████████▀
    ▀█
▄██████████████████████▀
`▄▄``````▄``````▄▄``▄▄```▄`````````▄````▄▄▄▄▄▄▄```````▄```▄`````````▄
 ██     ███     ██  ██   ██▄      ▐█▌  ▐█▀▀▀▀▀▀██    ▐█   ██▌     ▄██
 ▐█▌   ▐███▌   ██   ██   ████     ▐█▌  ▐█       ██   ▐█    ▀██   ██
  ██   ██ ██   ██   ██   █▌ ▀█▄   ▐█▌  ▐█      ▄██   ▐█      ██▄██
   ██ ▐█▀ ▀█▌ ██    ██   █▌   ██  ▐█▌  ▐█    ████    ▐█       ███
   ▐█▄██   ██▄█▌    ██   █▌    ██▄▐█▌  ▐█       ▐██  ▐█     ▄█▀ ██
    ███     ███     ██   █▌      ███▌  ▐█       ▄██  ▐█    ██    ▀██
     ██     ██▌     ██   █▌       ██▌  ▐█  ███████   ▐█  ▐█▌       ██

S A L E S   S Y S T E M




             ▄██
           ▄████           ▄▄
         ▄███▐██        ▄████
▄██████████  ▐██    ▄████▀
███▀▀▀▀▀▀    ▐██    ▀█▀
███          ▐██
███``````````▐██````██████████
███          ▐██
██████████   ▐██    ██▄
        ▀███▄▐██     ▀████▄
          ▀█████        ▀████▌
            ▀███

       ▀█▀▀▀▀▀▀█▌
        ███▀▀███
     ▄█▀        ▀█▄
   ▄█              █▄
  ██     ▄████▄     ▀█
 ██     ▐█ ▐█ ▐▀     ▐█
▐█       ▀▀███▄       █▌
▐▌``````▐▄`▐█`█▌```````▄
▐█       ▀▀██▀▀       █▌
 ▀█                  ██
   ▀█▄            ▄█▀
       ▀▀▀████▀▀▀▀


Telegram
Whitepaper
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 1778
Merit: 2398


bc1qshxkrpe4arppq89fpzm6c0tpdvx5cfkve2c8kl


View Profile WWW
July 30, 2018, 03:55:48 PM
Merited by Foxpup (2), Welsh (2), gmaxwell (1), HeRetiK (1)
 #3

First of all, you are not using Bitcoin Core 0.16.2 because that error is not in Bitcoin Core 0.16.2. It is in the current master branch which is the development branch. That error (along with many other changes), will be in 0.17.

Secondly, you should read the error message. It is telling you that the RPC will be removed in 0.18 and it tells you how to enable it in the version that you are using. That means that, going forward, you should not be using that RPC. This does not mean that every time you upgrade Bitcoin Core that you have to change your code. However, if you are using things that are being deprecated, then yes, you will. That is what deprecation means.

You should not be using the accounts system because it is being removed. That is explicitly being told to you in that error message. You should use something else that is not deprecated.

annie9771
Member
**
Offline Offline

Activity: 100
Merit: 10


View Profile
July 30, 2018, 04:04:23 PM
 #4

i installed bitcoin yesterday,
Start bitcoind with -deprecatedrpc=accounts as they said, that should work.

and to answer your question, no. You won't necessarily need to change your code after each release.
-deprecatedrpc=accounts  can i use this in configuration file ?
HeRetiK
Legendary
*
Offline Offline

Activity: 1120
Merit: 1049


the forkings will continue until morale improves


View Profile
July 31, 2018, 09:35:05 AM
Merited by achow101 (3), Welsh (2)
 #5

i installed bitcoin yesterday,
Start bitcoind with -deprecatedrpc=accounts as they said, that should work.

and to answer your question, no. You won't necessarily need to change your code after each release.
-deprecatedrpc=accounts  can i use this in configuration file ?

You can, but you shouldn't. Especially when starting a new project.

Using deprecated functionality is how you build up technical debt and incur problems further down the road (ie. you won't be able to update Bitcoin Core without breaking existing functionality unless you rewrite parts of your app).

I found a post by achow101 on StackExchange that could point you in the right direction:
https://bitcoin.stackexchange.com/questions/70583/question-on-getaccountaddress-getnewaddress-getaddressesbyaccount#70595

gmaxwell
Moderator
Legendary
*
qt
Offline Offline

Activity: 2744
Merit: 2266



View Profile
August 01, 2018, 02:06:59 AM
Merited by Foxpup (2)
 #6

It is almost completely certain that the accounts functionality does not do what you want and never has, in any case.

Accounts were created to be the backend of a long defunct webwallet service (that lost or ran off with everyone's funds), people often think they do things that they don't, such as act as multiwallet does (or even other things that don't make much sense in Bitcoin like "from addresses").
MadGamer
Legendary
*
Offline Offline

Activity: 1400
Merit: 1020


Fun of WINBIX sales system winbix.io


View Profile
August 05, 2018, 07:51:04 AM
 #7

It is almost completely certain that the accounts functionality does not do what you want and never has, in any case.

Accounts were created to be the backend of a long defunct webwallet service (that lost or ran off with everyone's funds), people often think they do things that they don't, such as act as multiwallet does (or even other things that don't make much sense in Bitcoin like "from addresses").


In that case, what does this update mean for online wallets? they'll have to shutdown unless they don't upgrade their bitcoind?


   ▃▆█▀███████████████████▆
  ████████
█████████████████████▄
 █████████████
██████████████████▌
█████████████████
▀███████████████
█████████████████████
▀███████████
█████████████████████
▄██████████
█████████████████
▄██████████████
██████████████
▄██████████████████
████████████
█████████████████████
██████████████
▀██████████████████
██████████████████
▀██████████████
██████████████████████▄
▀█████████
█████████████████████
▄███████████
█████████████████
▄▄██████████████
 ████████████
▄▄█████████████████▌
  ███████
▄████████████████████▀
    ▀█
▄██████████████████████▀
`▄▄``````▄``````▄▄``▄▄```▄`````````▄````▄▄▄▄▄▄▄```````▄```▄`````````▄
 ██     ███     ██  ██   ██▄      ▐█▌  ▐█▀▀▀▀▀▀██    ▐█   ██▌     ▄██
 ▐█▌   ▐███▌   ██   ██   ████     ▐█▌  ▐█       ██   ▐█    ▀██   ██
  ██   ██ ██   ██   ██   █▌ ▀█▄   ▐█▌  ▐█      ▄██   ▐█      ██▄██
   ██ ▐█▀ ▀█▌ ██    ██   █▌   ██  ▐█▌  ▐█    ████    ▐█       ███
   ▐█▄██   ██▄█▌    ██   █▌    ██▄▐█▌  ▐█       ▐██  ▐█     ▄█▀ ██
    ███     ███     ██   █▌      ███▌  ▐█       ▄██  ▐█    ██    ▀██
     ██     ██▌     ██   █▌       ██▌  ▐█  ███████   ▐█  ▐█▌       ██

S A L E S   S Y S T E M




             ▄██
           ▄████           ▄▄
         ▄███▐██        ▄████
▄██████████  ▐██    ▄████▀
███▀▀▀▀▀▀    ▐██    ▀█▀
███          ▐██
███``````````▐██````██████████
███          ▐██
██████████   ▐██    ██▄
        ▀███▄▐██     ▀████▄
          ▀█████        ▀████▌
            ▀███

       ▀█▀▀▀▀▀▀█▌
        ███▀▀███
     ▄█▀        ▀█▄
   ▄█              █▄
  ██     ▄████▄     ▀█
 ██     ▐█ ▐█ ▐▀     ▐█
▐█       ▀▀███▄       █▌
▐▌``````▐▄`▐█`█▌```````▄
▐█       ▀▀██▀▀       █▌
 ▀█                  ██
   ▀█▄            ▄█▀
       ▀▀▀████▀▀▀▀


Telegram
Whitepaper
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 1778
Merit: 2398


bc1qshxkrpe4arppq89fpzm6c0tpdvx5cfkve2c8kl


View Profile WWW
August 05, 2018, 04:29:53 PM
Merited by Foxpup (2)
 #8

In that case, what does this update mean for online wallets? they'll have to shutdown unless they don't upgrade their bitcoind?
No major online wallet uses Bitcoin Core's account system. In fact, no major service uses Bitcoin Core for their wallet. So no, they won't shutdown because they have their own systems for handling wallets and user accounts. Bitcoin Core is typically used solely for block and transaction validation as an edge node in all major services.

annie9771
Member
**
Offline Offline

Activity: 100
Merit: 10


View Profile
August 06, 2018, 06:20:24 AM
 #9

In that case, what does this update mean for online wallets? they'll have to shutdown unless they don't upgrade their bitcoind?
No major online wallet uses Bitcoin Core's account system. In fact, no major service uses Bitcoin Core for their wallet. So no, they won't shutdown because they have their own systems for handling wallets and user accounts. Bitcoin Core is typically used solely for block and transaction validation as an edge node in all major services.

Agreed after reading on google , now i have decided that i will generate offline wallets for users , then i will sign transactions offline and broadcast , any best library for this ?
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!