Gettransaction #24

pull gavinandresen wants to merge 1 commits into bitcoin:master from gavinandresen:gettransaction changing 1 files +14 −6
  1. gavinandresen commented at 7:11 PM on January 7, 2011: contributor

    Adds a "details" array to gettransaction output. e.g.

    { "amount" : 0.00000000, "fee" : 0.00000000, "confirmations" : 609, "txid" : "b593920033b905c0e7c1d82d5b3e15a114841fa916719e968add3212e07c73a0", "time" : 1294342907, "details" : [ { "account" : "Test2", "address" : "mtQArCTnZHGsPf89jus6khxriYsJbU673P", "category" : "send", "amount" : -11.00000000, "fee" : 0.00000000 }, { "account" : "Test1", "address" : "mtQArCTnZHGsPf89jus6khxriYsJbU673P", "category" : "receive", "amount" : 11.00000000 } ] }

  2. Add account/address details to gettransaction output 80be6e69a9
  3. mikegogulski commented at 9:43 AM on January 8, 2011: none

    Hooray!

  4. laanwj referenced this in commit b8afa21fad on Sep 28, 2011
  5. coblee referenced this in commit c8ada487d7 on Jul 17, 2012
  6. orweinberger commented at 11:12 AM on January 7, 2014: none

    @gavinandresen @laanwj The gettransaction call does not return the 'fee' attribute for some reason.

    I'm using version 0.8.6-1.el6 and I'm getting the following output for a transaction that was sent with a fee:

    {
        "amount" : 0.00100000,
        "confirmations" : 92,
        "blockhash" : "0000000000000000977e56d6c0997d54b1b83c4e5bde4b5fccbe2098b4db4e00",
        "blockindex" : 307,
        "blocktime" : 1389053730,
        "txid" : "883e4841ef28d32f26129a9cdad3d2e13e0147707f3aa8b751b8351a38511705",
        "time" : 1389051738,
        "timereceived" : 1389051738,
        "details" : [
            {
                "account" : "52cb3f4469a80",
                "address" : "1KF6CMVjkS2bdkpx8HCHCTUpkensU6dybj",
                "category" : "receive",
                "amount" : 0.00100000
            }
        ]
    }
    
  7. laanwj commented at 6:01 PM on January 7, 2014: member

    @orweinberger it only adds a fee attribute if the transaction is from you (sent) see https://github.com/bitcoin/bitcoin/blob/master/src/rpcwallet.cpp#L1471

  8. orweinberger commented at 6:20 PM on January 7, 2014: none

    @laanwj Thanks for clarifying that. Is there any way for me to see if a transaction that was sent to me had a fee included in it?

  9. laanwj commented at 7:31 PM on January 7, 2014: member

    No idea... maybe you can remove the check and it will work for received transactions too, I'm not sure.

  10. sipa commented at 10:17 PM on January 7, 2014: member

    You can only compute the fee if you know the values of all inputs. This is only the case if all inputs are from yourself.

  11. justmoon referenced this in commit eb0a333004 on Apr 7, 2014
  12. rebroad cross-referenced this on Sep 11, 2014 from issue . by rebroad
  13. rdponticelli referenced this in commit b110f84bbb on Nov 26, 2014
  14. rubensayshi referenced this in commit f33b4a7d8f on Mar 16, 2015
  15. rustyrussell cross-referenced this on Mar 26, 2015 from issue Add autoprune functionality by sdaftuar
  16. dexX7 referenced this in commit 829eabef81 on Apr 26, 2015
  17. sdaftuar referenced this in commit 8399527864 on May 14, 2015
  18. jtimon referenced this in commit b4e420a24c on Jun 23, 2015
  19. TheBlueMatt referenced this in commit 835757c144 on Oct 20, 2015
  20. ptschip referenced this in commit 5704a58d08 on Mar 11, 2016
  21. danjurious referenced this in commit 0c15767527 on Jul 25, 2016
  22. MarcoFalke referenced this in commit 3650668cdb on Sep 25, 2016
  23. gmaxwell cross-referenced this on Mar 15, 2017 from issue Running out of disk space during GUI init results in hang and non-drawing windows by gmaxwell
  24. ptschip referenced this in commit b0e16fb981 on May 4, 2017
  25. jameshilliard referenced this in commit 6b0ef27b85 on Jun 25, 2017
  26. dooglus cross-referenced this on Aug 25, 2017 from issue gui, wallet: random abort (segmentation fault) running master/HEAD by dooglus
  27. MarcoFalke referenced this in commit d9e62d3e19 on Sep 29, 2017
  28. laanwj referenced this in commit 22a6c1fd8f on Nov 30, 2017
  29. laanwj referenced this in commit 9b80fc1498 on Nov 30, 2017
  30. laanwj referenced this in commit dd49862a70 on Nov 30, 2017
  31. classesjack referenced this in commit ea51c467e2 on Jan 2, 2018
  32. nining referenced this in commit 4f33ac1055 on Jan 3, 2018
  33. SachaSchlegel cross-referenced this on Jan 8, 2018 from issue compilation failure in src/test/alert_tests.cpp by SachaSchlegel
  34. HashUnlimited referenced this in commit 2340d25dbb on Mar 14, 2018
  35. KrzysiekJ referenced this in commit cf9eb9f3e8 on Mar 28, 2018
  36. kayront cross-referenced this on Apr 18, 2019 from issue bitcoin core does not compile on Solaris by kayront
  37. uhliksk referenced this in commit 3393d47288 on May 1, 2019
  38. uhliksk referenced this in commit 191551b3ac on Jun 27, 2019
  39. uhliksk referenced this in commit 0eb6589033 on Jun 27, 2019
  40. uhliksk referenced this in commit 4ebbd2e983 on Jun 27, 2019
  41. uhliksk referenced this in commit dc48d679e2 on Jun 27, 2019
  42. uhliksk referenced this in commit 1509f99281 on Jun 28, 2019
  43. uhliksk referenced this in commit 0645118268 on Jun 28, 2019
  44. fxtc referenced this in commit 3856c1aafd on Aug 6, 2019
  45. uhliksk referenced this in commit 375cf4e12a on Aug 6, 2019
  46. udovdh cross-referenced this on Oct 4, 2019 from issue LevelDB read failure: Corruption: block checksum mismatch by dooglus
  47. Warchant referenced this in commit 7958da26e8 on Dec 31, 2019
  48. velesnetwork referenced this in commit 13ce5c40d5 on Jan 12, 2020
  49. mdfkbtc referenced this in commit 0ea71dc01a on Feb 5, 2020
  50. Losangelosgenetics referenced this in commit 94f1d8fc76 on Mar 12, 2020
  51. Bushstar referenced this in commit 610b3e1b06 on Apr 8, 2020
  52. MarcoFalke referenced this in commit ca30d34cf9 on Aug 28, 2020
  53. fanquake referenced this in commit 2a55a0ed30 on Nov 20, 2020
  54. fanquake referenced this in commit 8d6a87d154 on Nov 23, 2020
  55. jonasschnelli referenced this in commit c33662a0ea on Dec 2, 2020
  56. rajarshimaitra referenced this in commit 61e1f78302 on Mar 23, 2021
  57. MarcoFalke referenced this in commit bce09da122 on Apr 28, 2021
  58. MarcoFalke referenced this in commit c857148636 on May 15, 2021
  59. satindergrewal referenced this in commit c45e1a47e2 on Jun 22, 2021
  60. rajarshimaitra referenced this in commit c0b0a4cc85 on Aug 5, 2021
  61. bitcoin locked this on Sep 8, 2021
Labels
Linked (view graph)
#999 v0.6.0rc5 segfault on initial blockchain download when out of diskspace#1098 segfault in qrcode message dialog#2472 System error: database corrupted: void boost::recursive_mutex::lock(): Assertion `!pthread_mutex_lock(&m)' failed#4895 .#5795 Bizarre test_bitcoin crash, but passes in debugger#5863 Add autoprune functionality#6540 scheduler_tests (currently disabled) occasionally deadlocks#9683 gui, wallet: random abort (segmentation fault) running master/HEAD#9759 Setting -maxsigcachesize to zero causes segfault#9883 [Qt] Segfault on startup#9997 Running out of disk space during GUI init results in hang and non-drawing windows#10209 Stalled shutdown#11355 LevelDB read failure: Corruption: block checksum mismatch#11794 Prefix leveldb debug logging#12038 deadlock on database corruption#12189 [Qt] Display transaction fee with sat/vbyte value in SendCoinsDialog#13316 make check fails for configure option --with-incompatible-bdb and Berkeley DB 5.3#14349 mac: make check failure on macOS 10.14#14923 segmentation fault on gui startup#15708 bitcoin core does not compile on Solaris#17540 ci build fails in ./qt/test/test_bitcoin-qt on aarch64 native tsan#17729 Fuzzing Bug undefined-behavior pubkey.cpp:210:38#18362 gui: segfault unloading and immediately reloading wallet with gui#18948 qt: Call setParent() in the parent's context#20618 Data race in interface_zmq.py#21632 MemorySanitizer: use-of-uninitialized-value in sqlite3BtreeOpen#21773 fuzz: Ensure prevout is consensus-valid#21948 test: Fix off-by-one in mockscheduler test RPC#22548 CheckQueue_Correct_Random data race#24290 segfault when compiled with depends DEBUG=1 and libc++#25146 Starting with an unsupported wallet configured leads to a segfault (master only?)#25323 miniscript fuzzer failing after qa-assets update#25365 ThreadSanitizer: data race on vptr (ctor/dtor vs virtual call) in BaseIndex#25632 SUMMARY: ThreadSanitizer: SEGV src/index/base.cpp:388:9 in BaseIndex::SetBestBlockIndex(CBlockIndex const*)::$_1::operator()() const#25857 IBD core dumped during recursive call to CCoinsViewCache::FetchCoin (while connecting best chain tip)#26068 Segmentation fault in the scheduler thread when an index fails to commit to the db#26274 bitcoind dumps core when deriveaddresses is called with index 2147483647 (2^31-1)#26477 validation: fix broken maxtipage comparison#27222 test: use-of-uninitialized-value in sqlite3Strlen30#27354 wallet: Data race in GetOrCreateLegacyScriptPubKeyMan vs IsMine#27360 ci: use LLVM/clang-16 in native_asan job#27582 TSAN: lock-order-inversion (potential deadlock) in ZapSelectTx test#27922 ci: fix llvm-symbolizer in MSAN jobs#28510 migratewallet crashes on an freshly created datadir ( wallet/wallet.h:959: int wallet::CWallet::GetLastBlockHeight() const: Assertion `m_last_block_processed_height >= 0' failed.)#28665 'std::out_of_range' crash in I2P fuzz test#29767 ThreadSanitizer: data race src/flatfile.cpp:47:13 in FlatFileSeq::Open(FlatFilePos const&, bool)#30284 Mini miner `AncestorFeerateComparator` Signed Integer Overflow#30402 Illegal Instruction in `CoinStatsIndex::CustomAppend`#31234 fuzz: connman target: terminate called after throwing an instance of 'std::bad_alloc'#32173 validation: `CheckBlockIndex` crashes during block reconsideration#32957 SegFault in QSortFilterProxyModelPrivate::build_source_to_proxy_mapping#33150 intermittent TSAN failure in lockmanager_tests::blockmanager_readblock_hash_mismatch#33277 intermittent Segmentation fault in mptest IPC path (callFnAsyncParams)#34655 fuzz: keep `coins_view` fuzzers within caller contracts#34734 test: Fix shutdown vptr race in BlockFilterIndexSync bench#34777 ipc: AddressSanitizer: heap-use-after-free in `capnp::CallContext<ipc::capnp::messages::BlockTemplate::GetBlockParams, ipc::capnp::messages::BlockTemplate::GetBlockResults>::getParams()`#34782 mptest: mp::CancelMonitor: AddressSanitizer: stack-use-after-return#35207 tx_package_eval: Timeout in tx_package_eval

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:56 UTC