Bitcoin Forum
May 26, 2024, 07:37:00 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Does list transsaction store the lists of transactions or the other way?  (Read 624 times)
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
May 22, 2013, 05:42:19 AM
 #1

Does listtransactions command store a precomputed list or will it rescan the block chain after i import a bitcoin pub/pri key and output the updated list? how does that work so I can accurately build up my BIK library.
Pieter Wuille
Legendary
*
qt
Offline Offline

Activity: 1072
Merit: 1174


View Profile WWW
May 23, 2013, 03:49:24 AM
 #2

Neither.

It queries the wallet, not the blockchain. The wallet contains a list of transactions, which is on-the-fly processed to produce the listtransactions output.

I do Bitcoin stuff.
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
May 23, 2013, 04:43:28 PM
 #3

Neither.

It queries the wallet, not the blockchain. The wallet contains a list of transactions, which is on-the-fly processed to produce the listtransactions output.

Okay thats what i thought to an extent;


So its safe to assume if i import a key and call listtransactions it will on the fly proccess to produce the list with that key in it as well?
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1431



View Profile
May 23, 2013, 04:52:45 PM
 #4

only if you imported with rescan = true (which is true by default)

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!