Bitcoin Forum
May 05, 2024, 02:28:08 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / send to address method in details on: June 22, 2021, 10:06:29 AM
Hi guys
I want to know details about sendtoaddress method in bitcoin core. especially the usage of arguments like:

replaceable

conf_target

estimate_mode

if estimate_mode is unset, how fee calculated?
2  Bitcoin / Development & Technical Discussion / listreceivedbyaddress vs listaddressgroupings on: June 14, 2021, 09:27:42 AM
hi, i am an amateur in blockchain, So forgive me for the trivial questions

I want to know the difference between listreceivedbyaddress and listaddressgroupings method in the bitcoin-cli?

it is wired after call this: bitcoin-cli -regtest generatetoaddress 101 $(bitcoin-cli -regtest getnewaddress)

with listaddressgroupings i have 50 bitcoin, but with listreceivedbyaddress i have zero (by same address)
3  Bitcoin / Development & Technical Discussion / details for bitcoin core sendtoaddress method on: June 13, 2021, 08:48:46 AM
hi everyone
I want to use "sendtoaddress" method for withdrawing my users.

1) if I set "subtractfeefromamount" to false, fee deducted from where? and How is fee calculated?

2) for example , if i have 2 bitcoin in my wallet, and the user withdraws one bitcoin, the rest coin (one bitcoin - fee) how calculated (utxo) ?

3) consider the above example, I want the rest coin return to the new address (different from the source address (HD wallet)), Is there a way?
4  Bitcoin / Bitcoin Technical Support / bitcoin core watch only wallet support new address on: June 09, 2021, 01:26:31 PM
hi guys, I am a new developer in crypto.  Smiley

i installed bitcoind and bitcoin-cli, so create watch only wallet by the below command:
bitcoin-cli -testnet createwallet testwallet true
so my testwallet has no private key, then i expect generate a new HD address with this command:
bitcoin-cli -testnet -rpcwallet=testwallet getnewaddress
but got this error:
error code: -4
error message:
Error: This wallet has no available keys

please help me, i want create my cold wallet that has a lot of slot to receive money without private key.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!