Bitcoin Forum
June 21, 2024, 09:52:13 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / Bitcoind getreceivedbyaddress dosen't work on: July 22, 2014, 04:23:55 PM
Hello everyone,

I have bitcoind-version 0.9.01, installed on VPS.
My site communicate with bitcoind  via jsonRPCClient(PHP), i can use getInfo,sendtoaddress functions but when i tried to use getreceivedbyaddress(addr,conf) i got an 500 error.

Code:
fopen(http://...@127.0.0.1:8332/): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error

I have no idea why getInfo works well, and getreceivedbyaddress dosen't. Huh Huh
How can i debug this kind of errors?

thank you for your help in advance


2  Bitcoin / Development & Technical Discussion / Bitcoind / cold storage how it's work on: May 07, 2014, 08:11:54 AM
Hello everyone.

I have bitcoind 9.0.1 installed on my VPS server i can accept incoming payments/ send coins to address etc so my bitcoind is configured correctly. I would like to store my bitcoind's wallet coins in "cold storage". I read a lot of articles over internet. But unfortonetly I do not understand the essence of  cold storage.

I read about this application
https://www.bitaddress.org/bitaddress.org-v2.9.3-SHA1-7d47ab312789b7b3c1792e4abdb8f2d95b726d64.html , but i don't understand how can i send/export coins into that generated "paper" Huh

How can i send coins from my bitcoind wallet to  a "paper physical wallet" Huh
3  Bitcoin / Development & Technical Discussion / Re: Bitcoind sendtoaddress dosen't work on: May 05, 2014, 10:25:48 AM
yes
4  Bitcoin / Development & Technical Discussion / Re: Bitcoind sendtoaddress dosen't work on: May 05, 2014, 09:04:50 AM
Code:
    "version" : 90100,
    "protocolversion" : 70002,
    "walletversion" : 60000,
    "balance" : 0.00010000,
    "blocks" : 299187,
    "timeoffset" : 22,
    "connections" : 67,
    "proxy" : "",
    "difficulty" : 8000872135.96816349,
    "testnet" : false,
    "keypoololdest" : 1398316545,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "errors" : ""
5  Bitcoin / Development & Technical Discussion / Bitcoind sendtoaddress dosen't work on: May 05, 2014, 08:54:59 AM
Hello everyone.

i have bitcoind installed on VPS debian server.
My site communicate with bitcoind via PHP RPC-JSON, it works great, i can check getinfo(), receving amount etc.
I would like to send coins to my blockchain wallet, but when i tried to call $bitcoind->sendtoaddress(amount,address,comment1,commen2), i got an 500 internal error.


Code:
Warning: fopen(http://...@127.0.0.1:8332/): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in D:\xampp\htdocs\bitcoind2\JsonRPCClient.php on line 141

Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to http://myuser:mypwd@127.0.0.1:8332/' in D:\xampp\htdocs\bitcoind2\JsonRPCClient.php:149 Stack trace: #0 D:\xampp\htdocs\bitcoind2\Bitcoin.php(719): JsonRPCClient->__call('sendtoaddress', Array) #1 D:\xampp\htdocs\bitcoind2\Bitcoin.php(719): JsonRPCClient->sendtoaddress('0.0005', '14mARZ8YQpHdKXB...', 'aaaa', 'bbbb') #2 D:\xampp\htdocs\bitcoind2\BitcoinTest.php(279): Bitcoin->sendtoaddress('0.0005', '14mARZ8YQpHdKXB...', 'aaaa', 'bbbb') #3 D:\xampp\htdocs\bitcoind2\test.php(7): BitcoinTest->testSendtoaddress('0.0005', '14mARZ8YQpHdKXB...', 'aaaa', 'bbbb') #4 {main} thrown in D:\xampp\htdocs\bitcoind2\JsonRPCClient.php on line 149


I read some article over internet, maybe i have to unlock my bitcoind wallet before i would like to use sendtoaddress() Huh

6  Bitcoin / Development & Technical Discussion / Re: Bitcoind daemon synchronizing error on VPS(debian) on: April 21, 2014, 04:32:44 AM
Well i must talk with administrator, but before it, i would like to try this solution:

Quote
Set "maxconnections" to 10 or 8 or 5. The highest number it wont crash with.

where can i  configure bitcoind's max connections? (maybe in boitcoind.conf ? )
7  Bitcoin / Development & Technical Discussion / Re: Bitcoind daemon synchronizing error on VPS(debian) on: April 20, 2014, 06:14:26 PM
I tried to create swap area but unfortonetly i haven't right to create.
I got the following error "swapon: /swap: swapon failed: Operation not permitted"

Is there any another solution, or i have to discuss this problem via VPS hosting administrators?
8  Bitcoin / Development & Technical Discussion / Re: Bitcoind daemon synchronizing error on VPS(debian) on: April 20, 2014, 05:41:21 PM
VPS configuration

Code:
	Disk	     14.65 GB	 48.83 GB	
Inode        50002 25600000
Memory 216 MB 4 GB
Backup       0 1
Traffic 28.4 GB 2929.69 GB
LTraffic 0 MB -
CPU0 speed 0.3GHz -
CPU1 speed 0.3GHz -
CPU2 speed 0.3GHz -
CPU3 speed 0.3GHz -
CPU4 speed 0.3GHz -
CPU5 speed 0.3GHz -



i don't have any swap area on VPS.
9  Bitcoin / Development & Technical Discussion / Re: Bitcoind daemon synchronizing error on VPS(debian) on: April 20, 2014, 04:16:08 PM
well, i really don't know .. maybe there is another problem.
 Last week i run bitcoind syncronization on my personal computer(over windows) with  lower configuration than my rented  VPS, and I did't get such error.
10  Bitcoin / Development & Technical Discussion / Bitcoind daemon synchronizing error on VPS(debian) on: April 20, 2014, 01:22:26 PM
I have bitcoind installed on a VPS debian server, i started running bitcoind 2 days ago for syncronizing with bitcoin network but i got the following error today.

Code:
        root@vps:~# bitcoind getinfo
    {
        "version" : 32400,
        "balance" : 0.00000000,
        "blocks" : 258354,
        "connections" : 9,
        "proxy" : "",
        "generate" : false,
        "genproclimit" : -1,
        "difficulty" : 112628548.66634709,
        "hashespersec" : 0,
        "testnet" : false,
        "keypoololdest" : 1397553052,
        "paytxfee" : 0.00000000,
        "errors" : "EXCEPTION: 11DbException       
\nDb::put: Cannot allocate memory       \nbitcoin in ProcessMessage()       \n"
    }

I have no idea what this error mean, or how can i resolve this kind of error.
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!