Relating to the JSON-RPC remote procedure calls.

learn more… | top users | synonyms (1)

0
votes
0answers
9 views

Error - Electrum RPC methods not supported

I install Electrum under Linux. sudo apt-get install python-qt4 python-pip sudo pip install https://download.electrum.org/2.6.4/Electrum-2.6.4.tar.gz After this i run daemon on port 7777: ...
0
votes
1answer
14 views

How to use JSON-RPC in C++ in Linux?

Which library I must use for JSON? Where is RPC call example ? How to use RPC of bitcoind or bitcoin-cli? or better Electrum API to get all new (maybe pending) transactions which appears in Bitcoin ...
1
vote
2answers
22 views

Is the getnewaddress command available before synchronization is completed?

Can I expect the getnewaddress command to work before my bitcoind has finished synchronizing?
1
vote
4answers
36 views

How can a lightweight client make sure output has not been spent yet?

It's simple to prove the creation of a UTXO: You just need to provide the transaction data, the Merkle branch, and block of the creating transaction. Then, as a full-node, it is simple to check ...
1
vote
1answer
35 views

JSON-RPC Connection Problem!

I use bitcoind. And I have simple bitcoin wallet with simple login-register system. Error Code; Fatal error: Uncaught exception 'Exception' with message 'Incorrect response id (request id: 1, ...
1
vote
0answers
16 views

Using PHP with RPC and cookie

Since 0.12 RPC uses a "random cookie":https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-0.12.0.md#rpc-random-cookie-rpc-authentication for authentication, but it's not ...
0
votes
0answers
16 views

counterparty Token JSON image

I, on the Token made with counterparty, can not set the URL of the JSON code. And not be able to set the image. In this JSON source, the next of which elements, you do not know may be me for a URL ...
0
votes
1answer
19 views

Do I need to be synced with the network to make remote RPC calls?

I want to make some RPC calls from my local computer to a server I have which is currently syncing with the network via $ bitcoind I am trying to make RPC calls for things like getinfo but my ...
0
votes
0answers
24 views

How to add parameters like “-regtest=1” to a JSON-RPC call in C#?

I'm trying to modify the CoiniumServ codebase ( https://github.com/int6/CoiniumServ ), so it supports bitcoind in regtest mode. I know using bitcoin-cli you need to add -regtest to the bitcoin-cli ...
3
votes
1answer
47 views

Why does getNewAddress take so long? Often times out python-bitcoinrpc

Bitcoin 0.11 on a Raspberry Pi 2: https://github.com/jgarzik/python-bitcoinrpc I am using this RPC auth proxy to talk to bitcoind from Python. I have a script that requests getmempoolinfo every 1 ...
0
votes
1answer
29 views

Can you reset 'used' addresses that were actually never used?

Bitcoin RPC command getnewaddress returns a P2PKH address from the keypool, and marks it as "used" so it will not be returned by the same RPC call again. I'm going to be doing a lot of testing on ...
0
votes
1answer
125 views

Are there Ethereum API wrappers? [closed]

I'm looking into developing some Go software on Ethereum and I'm wondering - are there any API wrappers around for Ethereum (something like BTCSuite's BTCRPCClient is for Bitcoin)? I know there is a ...
1
vote
1answer
72 views

bitcoind sendfrom with minconf=0

Is it possible using bitcoind JSON-RPC API to receive funds from someone and send it immediately to another third-party address? I do not want to wait for 1 confirmation. getbalance with minconf=0 ...
0
votes
1answer
25 views

Is there a way to get the node's local time when a block was received?

As in, not the miner's timestamp in the blockheader which can be +/- 2 hours, but the receiving node's local time. My concern is the real-world time that elapses between blocks.
2
votes
1answer
28 views

How to derive the 'addresses' field on an output from a serialized tx

I'm trying to figure out how to derive the addresses field from a serialized tx. Take for instance this transaction on the test network ...
0
votes
1answer
41 views

EasyBitcoin-PHP very slow

I am trying to use bitcoins on my website. For this I use EasyBitcoin-PHP. It works good except that it is very slow. It takes about 5 seconds to load a simple script like this: <?php require_once ...
1
vote
1answer
83 views

bitcoin-cli very slow to respond to RPC calls (Raspberry Pi)

Running Bitcoin 0.11 on Raspberry Pi 2 (Quad core 900MHz 1GB RAM, 128GB Flash Drive for blockchain, 8GB SD Card for OS and software). Blockchain is fully synced, 13 connections. In htop, I see I'm ...
0
votes
0answers
17 views

Help with understanding Semaphore grants in OpenNetworkConnection

I am new to concurrent programming. Can any expert throw some light on the semaphore grant that one requires before acquiring a network connection ? bool OpenNetworkConnection(const CAddress& ...
0
votes
0answers
65 views

JSON RPC from external server

I'm having trouble connecting to my node via JSON RPC from an external server. On the same machine, I'm able to pass the commands through bitcoin-cli and also locally I am able to run this PHP file ...
0
votes
1answer
73 views

Why is my bitcoind daemon not listening on RPC port at 8332?

I have read a similar post which had no answer at this location. I am trying to use bitcoin-cli from a host that different from the host that runs bitcoind. I also would be happy with being able to ...
3
votes
1answer
51 views

Validate a payment using bitcoind and json rpc

I need to implement a BTC payment system on my web-store. But I'm still not sure about the mechanisms I'm supposed to use for payment confirmation. For example, a user registered on my store and I ...
1
vote
0answers
51 views

Bitcoind has too slow API call performance on large wallets

Bitcoind (bitcoin-0.11.2, linux32) has too slow performance when the wallet size gets bigger, i will post here some average timing behaviors. The wallet size is 410MB. A getbalance call requires 1.45 ...
0
votes
0answers
18 views

`listtransactions` JSON-RPC API not returning all deposits?

I'm using bitcoin core 0.10.0. With the QT UI I'm able to see all past transactions of my wallet. There are less received transactions (135) than sent transactions (about thousands). If I use the ...
0
votes
1answer
63 views

namecoin name_firstupdate

Hey I am trying to connect to my namecoin server. I have hosted and done the first name_firstupdate. I am using easybitcoin.php. I have stored the rnd and txid I need from the name_new step but when I ...
1
vote
1answer
157 views

Can I use curl to call getInfo from a the Bitcoin server?

I am wondering if its possible to use curl to getinfo from the bitcoin server thanks. <?php // init the resource $ch = curl_init(); // set a single option... $username = 'usernamefromconfig'; ...
2
votes
1answer
151 views

How to call JSON RPC API from C?

How do I make RPC calls from C? My question is related to the question: "How do I call JSON RPC API using C#?"
2
votes
0answers
63 views

Bitcoind stopped working [closed]

Hello i have been running Bitcoind and Dogecoind for more than 2 month and all has been working great but today bitcoind has stopped working I am receiving the error: Warning: ...
2
votes
1answer
72 views

How to get the “BTC” abbreviation via command line?

I'm writing a module that connects to multiple wallets at once and I would like to have a way I can simply query the coin daemon for its coins abbreviation (not the "microcoins" as asked in a comment ...
1
vote
0answers
13 views

bitcoind calls walletnotify before it's ready to process API calls

I have a walletnotify configured with bitcoind. When I start bitcoind this scipt is being called which in turn does bitcoind requests. However, in the startup phase, bitcoind calls the walletnotify ...
0
votes
1answer
21 views

Does getrecievedbyaddress work for all addresses?

In previous versions getrecievedbyaddress api call returned 0 for external addresses (not included into local wallet) and it was described in the docs. However, right now documentation for ...
2
votes
1answer
66 views

getnewaddress (RPC) on encrypted bitcoin wallet without wallet password?

Say for example an encrypted wallet has 5000 addresses already pre-generated in the keypool. Can getnewaddress be called via RPC command without knowing the actual wallet password? I envisage a ...
-1
votes
1answer
54 views

trying to transfer my bitcoins from my unsynced bitcoin qt wallet to new online wallet by createrawtransaction but it comes with error code [closed]

it comes up with error Error:error parsing JSON: [{txid:my txid,vout:my transaction number},...] so whats this mean and what can i do to correct it please? im not very it inclined cheers :-)
1
vote
0answers
28 views

Validate chain from `valid-headers` to `valid-fork`

The getchaintips JSON-RPC returns multiple branches of the blockchain. Chain tips can be in various statuses. The active and valid-fork are already validated chains. There is a valid-header ...
2
votes
0answers
52 views

Get as many blocks as possible (stale, invalid, orphans)

I would like to download (and access) as much blocks as possible - including stale (extinct) blocks, orphans blocks and invalid blocks. I have 0.11 official client. My node is already synchronized but ...
0
votes
1answer
52 views

Bitcoind listtransactions return only received transactions not showing send payment

I try to get all transaction of an account using this: listtransactions Ammadkhalid But this is show me received transaction not send here screenshot but in php:
0
votes
1answer
69 views

How can I get the Fee involved in a Bitcoin transaction using RPC client (bitcoin-cli)?

I performed a bitcoin payment in the testnet, here is what I get when I execute bitcoin-cli gettransaction "11b8d5f89793e83e9e10b7ee51fa1b3445f6029f7d7efe4c82b3b261ec513a0e", as you can see the info ...
1
vote
1answer
88 views

Continuous integration setup using bitcoind regtest on travis-ci

Subtitle: travis-ci fails to run generate JSON-RPC method on regtest I'm trying to setup CI process on https://travis-ci.org platform to install bitcoind and start new blockchain using regtest mode. ...
1
vote
1answer
36 views

How to spend bitcoins From Account and specify Fee

I am writing an application that uses bitcoin wallet accounts to specify what addresses belong to what user. I have been reading the documentation trying to find a way to spend Bitcoins specifying the ...
7
votes
1answer
365 views

Why is JSON-RPC over SSL “strongly discouraged”?

The Wiki contains a page that simply states: JSON-RPC over SSL is strongly discouraged Why? I found a method for enabling JSON_RPC over SSL here. The post mentions nothing about JSON-RPC over ...
0
votes
1answer
38 views

Is “previousblockhash” always returned from getblock RPC calls?

Does the getblock(hash) RPC call always return a "previousblockhash" field and if not: under what conditions does it not return this? Background: many algorithms suggest using this field as a way to ...
1
vote
1answer
227 views

jsonRPCClient.php not working

I got bitcoind working in the cmd prompt; Then I closed it and opened bitcoin-qt and that is now running in server mode; (bitcoinf server=1) Then I run some simple .php on my localhost (using xampp ...
0
votes
0answers
157 views

I cant connect to bitcoin

I can't connect to bitcoin, tried everything, googled extensively and tried but can't resolve. I have a bitcoin.conf file created but I am not sure it is being accessed during the run of "hello.php" ...
0
votes
1answer
73 views

rpc call gettransaction not work on bitcoin 0.10.2

Hello i have upgraded my bitcoind to 0.10.2, some of my rpc request now doesn't work. this is an example: bitcoin-cli gettransaction 6f5dfa31bef79d0c8cdd58530fc9f0ed2427e7085d421755f3fe78c a6ac326ef ...
2
votes
1answer
79 views

Does bitcoind accept batch RPC calls?

Am currently sending RPC calls to bitcoind in Python3 in series using JSON: import json, requests def pull(command, foo): headers = {'content-type': 'application/json'} payload = ...
2
votes
4answers
129 views

How can I get the DateTime of when bitcoind last received a block?

Is there a command to get the DateTime of when bitcoind last received a block?
1
vote
1answer
26 views

rpc get hex not json

how can i get the hex output in bitcoin-rpc for blocks? i'm using python-bitcoinrpc. in bitcoin-cli i can go: $ bitcoin-cli getblock 00000000839a8e6886ab5951d76f411475428afc90947ee320161bbf18eb6048 ...
1
vote
0answers
68 views

How to fork blockchain intentionally without RPC commands?

Are there any methods other than RPC command invalidateblock <hash> for creating forks? I know that forks occur when two miners (nearly) simultanously each generate a block for a previous common ...
1
vote
1answer
84 views

Estimatefee value not corresponding to actual fee

When I call estimatefee 1 in testnet it returns: 0.00044444 Then when I call sendtoaddress xxxxxx 0,1 (which got the first confirmation within a couple of minutes after sending) I see that the fee ...
0
votes
0answers
64 views

why to use blocknotify script, even if we can check for “share is block candidate” using target compare?

i have some complicate situation in altcoin wallet that wallet shows new block found with reward , but pool not show block found. could it be a reason that i not use block notify script. but checking ...
0
votes
1answer
62 views

Display missing parameters in cli help command on web page with JSONRPC

I am trying to get the entire contents of the "help" command to show up on a web page I am working on. Currently print_r($coin->help(); shows most of it, but all of the required parameters, except ...