Show Posts
|
Pages: [1]
|
hey, thanks for your reply and the code, and sorry for my late answer... i will try this code out!
thx!!
|
|
|
Beat The Clown 
|
|
|
Itīs a pity that ignore buttons canīt kill people...
|
|
|
As I am just at the beginning of developing a small application for me Iīm not "fixed" to Sergioīs library. Could you or the community suggest me any other json-rpc librarys for php that are robust and give me all possible functions?
|
|
|
Hi, just compiled bitcoind with your patch, and getting the following output: The php code is: try { $test = $bitcoin->sendfrom('test_1', 'mn6zpXzT5ouQBjCXJe8Bbo8JZoxZA3d34y', 25, $minconf=1); print $test; } catch (Exception $e) { echo 'Exception abgefangen: ', $e->getMessage(), "\n"; print '<pre>'; print_r($e); print '</pre>'; }
And thats the output: Exception abgefangen: Request error: Array
Exception Object ( [message:protected] => Request error: Array [string:Exception:private] => [code:protected] => 0 [file:protected] => D:\xampp\htdocs\dev\bitcoin\jsonRPCClient.php [line:protected] => 156 [trace:Exception:private] => Array ( [0] => Array ( [file] => D:\xampp\htdocs\dev\bitcoin\test2.php [line] => 28 [function] => __call [class] => jsonRPCClient [type] => -> [args] => Array ( [0] => sendfrom [1] => Array ( [0] => test_1 [1] => mn6zpXzT5ouQBjCXJe8Bbo8JZoxZA3d34y [2] => 25 [3] => 1 )
)
)
[1] => Array ( [file] => D:\xampp\htdocs\dev\bitcoin\test2.php [line] => 28 [function] => sendfrom [class] => jsonRPCClient [type] => -> [args] => Array ( [0] => test_1 [1] => mn6zpXzT5ouQBjCXJe8Bbo8JZoxZA3d34y [2] => 25 [3] => 1 )
)
)
[previous:Exception:private] => )
I donīt know if it is my fault because I misunderstood something here, but I canīt see any of the expected bitcoind error messages, in this case it should throw an exception because the balance of the account is lower than the transaction amount. thx!
|
|
|
thx for the advise, seems better with testnet, and there are no "real" fees on it 
|
|
|
wow, thanks for the quick fix. I will try to compile tonight, and let you know about it!
thx!!
|
|
|
sounds plausible  thank you!
|
|
|
ah, thank you! is there a sample output anywhere what happens, if i call this with rpc, and ie one address is invalid? or if account has an invalid balance after n transactions?
|
|
|
Hi there, could someohne please explain me what exactly is the advantage to use sendmany when sending money? Could not find anything about it in the documents...
thx!
|
|
|
here you are: 1NqkEcycGaK1VVx85D2zm7YGYtYtya5DPw 
|
|
|
Hi there, i use an dedicated bitcoind machine, and want to work with JSON-RPC PHP from Sergio Vaccaro. Everything works fine, but if there is an error from bitcoind, like not enough balance to make a transaction, JSON-RPC returns not the bitcoind error message, instead following error comes:
Warning: fopen(http://...@192.168.178.204:8332/) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in D:\xampp\htdocs\dev\bitcoin\jsonRPCClient.php on line 133
Is there a way to get the error message from bitcoind, to work with? Or do you use another json-rpc library for such things?
thank you!!
|
|
|
Hmm.. the restrictions are not good, if a member like me comes with a question, why should wait for hours and post some random stupid posts?
|
|
|
Hey guys, sorry for spamming, now there are 6 Posts and 4 hours and 18 minutes only, should be enough, or?
thx
|
|
|
Q: What do elephants have that no other animal has? A: Baby elephants.
|
|
|
The man: "God, how long is a million years?" God: "To me, it's about a minute." The man: "God, how much is a million dollars?" God: "To me it's a penny." The man: "God, may I have a penny?" God: "Wait a minute."
|
|
|
Teacher: Maria please point to America on the map. Maria: This is it. Teacher: Well done. Now class, who found America? Class: Maria did.
|
|
|
Sorry for spamming you 
|
|
|
Hi there  Hmm.. now ive got a technical question and canīt post in the right board 
|
|
|
how many posts are needed? 
|
|
|
|