diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-02-15 17:49:04 +0100 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-04-18 23:42:07 +0200 |
commit | c73ba23eb51e8cc8704645486f9ca5b50490b0c9 (patch) | |
tree | 67dec29650d85fb32949de19a901911b121f0f56 /src/main.h | |
parent | ac4161e25df2a9475abb0f62d32a7d86d6baff0f (diff) |
gettransaction RPC for non-wallet transactions
Works for wallet transactions, memory-pool transaction and block chain
transactions.
Available for all:
* txid
* version
* locktime
* size
* coinbase/inputs/outputs
* confirmations
Available only for wallet transactions:
* amount
* fee
* details
* blockindex
Available for wallet transactions and block chain transactions:
* blockhash
* time
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h index d12a3cc258..d26e6316e1 100644 --- a/src/main.h +++ b/src/main.h @@ -101,7 +101,7 @@ unsigned int ComputeMinWork(unsigned int nBase, int64 nTime); int GetNumBlocksOfPeers(); bool IsInitialBlockDownload(); std::string GetWarnings(std::string strFor); - +bool GetTransaction(const uint256 &hash, CTransaction &tx, uint256 &hashBlock); |