Bitcoin Forum
June 15, 2024, 03:57:04 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: listsinceblock - are all new transactions contained within a new block?  (Read 938 times)
monsterer (OP)
Legendary
*
Offline Offline

Activity: 1008
Merit: 1002


View Profile
September 10, 2013, 11:54:30 AM
 #1

Hi guys,

Does listsinceblock wait until it has received all transactions contained in each block before returning data?

So, if the newest block is still being formed, listsinceblock won't return transaction data until the block is complete?

Cheers, Paul.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3430
Merit: 4658



View Profile
September 12, 2013, 06:12:42 PM
 #2

Hi guys,

Does listsinceblock wait until it has received all transactions contained in each block before returning data?

So, if the newest block is still being formed, listsinceblock won't return transaction data until the block is complete?

Cheers, Paul.

Perhaps I don't understand your question properly.

Since a new block is ALWAYS being formed, if listsinceblock waited for the newest block to be solved, it would never return anything.
monsterer (OP)
Legendary
*
Offline Offline

Activity: 1008
Merit: 1002


View Profile
September 13, 2013, 10:42:07 AM
 #3

Hi guys,

Does listsinceblock wait until it has received all transactions contained in each block before returning data?

So, if the newest block is still being formed, listsinceblock won't return transaction data until the block is complete?

Cheers, Paul.

Perhaps I don't understand your question properly.

Since a new block is ALWAYS being formed, if listsinceblock waited for the newest block to be solved, it would never return anything.

I'm trying to work out if listsinceblock will return transactions from a block which is still being formed, or whether it only returns transactions from completed blocks.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3430
Merit: 4658



View Profile
September 13, 2013, 11:58:47 AM
 #4

Hi guys,

Does listsinceblock wait until it has received all transactions contained in each block before returning data?

So, if the newest block is still being formed, listsinceblock won't return transaction data until the block is complete?

Cheers, Paul.

Perhaps I don't understand your question properly.

Since a new block is ALWAYS being formed, if listsinceblock waited for the newest block to be solved, it would never return anything.

I'm trying to work out if listsinceblock will return transactions from a block which is still being formed, or whether it only returns transactions from completed blocks.

Ah, ok. So to simplify your question:

"Does listsinceblock return only "confirmed" transactions, or does it also return "unconfirmed" transactions?"

Unfortunately, I don't know the answer to the question.  From what I read in the wiki, it seems like it only returns confirmed transactions, but I'm not confident that I understood that properly.  The easiest way to know for certain is the run a few simple tests.  If I get a chance to do so this weekend, and if nobody else has stopped by to answer by then, I'll let you know what my tests turn up.
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!