Bitcoin Forum
June 20, 2024, 08:24:51 PM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / Re: When exactly can a txout be respent? on: January 20, 2015, 07:41:11 PM
Thanks for the concise reply.  Is that fact mentioned anywhere in the existing documentation?  If not, where would the most convenient and appropriate place to add that fact?

   
2  Bitcoin / Development & Technical Discussion / When exactly can a txout be respent? on: January 20, 2015, 06:19:22 PM
Dear all,

I have a question about the fundamental inner workings of bitcoin-core.  I have searched for the answer, but so far have come up with nothing.  If you know the answer, thanks for saving me time.

So, when you use getrawmempool, you get  a list of transactions that are waiting to be put into the next block.  My question is simply, can those txouts be spent and included in the same block. 

I'm using bitcoin-abe to collect unspent transactions and then build tx from that. 
However, if I'm using getrawmempool to add transactions to the bitcoin-abe database essentially before the block is fully written and accepted to the ledger, can those tx's be indexed and spent within that block?

Thanks
3  Alternate cryptocurrencies / Altcoin Discussion / error: {"code":-22,"message":"TX rejected"} on: January 09, 2015, 07:10:56 PM
Dear all,

I'm attempting to create a raw transaction and push it to the network using AuroraCoind (bitcoind).  I get the error mentioned in the title.  Here are the relavant debug.log entries and getinfo to see more clearly.

Any help to understand that I'm doing wrong would be great.  Here is my process to sent one AuroraCoin from unspent outputs to another address in my wallet (the txout value is 2.000000):

-$ AuroraCoind listunspent

#use a txid from listunspent to build raw transaction including vout

-$ AuroraCoind createrawtransaction '[{"txid":"_txid_from_listunspent", "vout":0}]' '{"_other_address_in_my_wallet": 1.0}' , {"_another_address_in_my_wallet":1.0}

#it create the raw transaction and returns a raw transaction

-$ AuroraCoind decoderawtransaction <paste in raw transaction code from above>

#outputs the correct details

-$AuroraCoind signrawtransaction <paste in raw transaction code from above>

-$ AuroraCoind sendrawtransaction <paste in raw transaction code from above>
Output: error: {"code":-22,"message":"TX rejected"}


debug.log output:
-----------------------
ThreadRPCServer method=sendrawtransaction
ERROR: CTxMemPool::accept() : nonstandard transaction input

getinfo output:
-------------------

{
    "version" : 1030000,
    "protocolversion" : 1030000,
    "walletversion" : 60000,
    "balance" : 499.99900000,
    "blocks" : 87914,
    "connections" : 10,
    "proxy" : "",
    "difficulty" : 127.75048353,
    "testnet" : false,
    "keypoololdest" : 1419127982,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "mininput" : 0.00010000,
    "errors" : ""
}

Any ideas?
4  Alternate cryptocurrencies / Altcoin Discussion / Bitcoin Insight API for an alt-coin - Auroracoin on: January 03, 2015, 10:34:40 PM
Hello eveyone,

I'm trying to modify the bitcoin insight API for an altcoin (Auroracoin).  I have tried to follow the instructions on this site (http://devtome.com/doku.php?id=insightforaltcoins), and I'm an intermediate level programmer.

I have installed node, installed the bitcion-insight-api github repo and modified the networks.js file to match the genesis block of Auroracoin (http://explorer.auroracoin.eu/b/1NC5uWRdz)

Here is my networks.js

However, when I try to run insight.js using the following command I get the following error:

-$ node insight.js

info: insight server listening on port 3001 in development mode
{ '0': [Error: Could not connect to bitcoin via RPC: connect ECONNREFUSED] }
error: Could not connect to bitcoin via RPC: connect ECONNREFUSED
{ '0': 'connecting to 127.0.0.1:18333' }
{ '0': 'connection refused for 127.0.0.1:18333' }
{ '0': 'unkown error with peer 127.0.0.1:18333 (disconnecting): Error: connect ECONNREFUSED' }
{ '0': 'disconnected from peer 127.0.0.1:18333' }

Any help with modifying the bitcoin-insight-api core to look for an alt-coin instead of bitcoin would be greatly appreciated!

Joseph
5  Economy / Service Discussion / Re: Help installing bitcoin Insight-API on: January 03, 2015, 10:04:20 PM
HI,

Saw you post even though it's old.  I'm trying to modify the bitcoin insight for an alt-coin with much of the same goals as you.  How is it going for you now?  Have you got it installed?
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!