Author

Topic: Bitcoin Sequence (Read 1326 times)

newbie
Activity: 8
Merit: 0
July 27, 2015, 07:52:21 PM
#9
Thanks, that was helpful.
staff
Activity: 3458
Merit: 6793
Just writing some code
July 27, 2015, 11:37:38 AM
#8
Thanks, it is really helpful.

One final note which I wanted to ask.

The DB - is this a file or a DB? If so, what are the underlying modules and schema can you point out?

Meetreks

What DB? Bitcoin Core uses two databases, Berkeley DB and Level DB. The Berkeley DB file is the wallet file. Or is used in the wallet for sitting you private keys. The level DB is for storing the blockchain. It contains an index of blocks and transactions.
newbie
Activity: 8
Merit: 0
July 27, 2015, 12:22:49 AM
#7
Thanks, it is really helpful.

One final note which I wanted to ask.

The DB - is this a file or a DB? If so, what are the underlying modules and schema can you point out?

Meetreks
staff
Activity: 3458
Merit: 6793
Just writing some code
July 24, 2015, 08:18:04 PM
#6
What I really need is how is the source code sequenced and how to place the code to read them in the order they are executed (if any)
Take a look at the docs I linked above. They also show the call graphs and flow charts. The first point is AppInit() located in bitcoind.cpp then AppInit2() in init.cpp.
newbie
Activity: 8
Merit: 0
July 24, 2015, 07:39:24 PM
#5
What I really need is how is the source code sequenced and how to place the code to read them in the order they are executed (if any)
newbie
Activity: 34
Merit: 0
July 24, 2015, 11:50:28 AM
#4
bitcoin sequence is Part of all transactions. A number intended to allow unconfirmed time-locked transactions to be updated before being finalized; not currently used except to disable locktime in a transaction
Not To Be Confused With Output index number / vout (this is the 0-indexed number of an output within a transaction used by a later transaction to refer to that specific output)

Links :
Sequence number — Bitcoin.org Developer Guide

Tx message (describes sequence number) — Bitcoin Wiki

What is the sequence number? — Bitcoin StackExchange
staff
Activity: 3458
Merit: 6793
Just writing some code
July 24, 2015, 10:54:56 AM
#3
Also not sure what you mean by sequence and line them up. However, there are source code docs that are very useful. You can find them here: https://dev.visucore.com/bitcoin/doxygen/
legendary
Activity: 4298
Merit: 1317
July 24, 2015, 07:03:08 AM
#2
Hi,
I am not sure what you mean by "the sequence" and "line them up," but there is documentation here:

https://bitcoin.org/en/developer-documentation

If you can rephrase the question, perhaps we can give you more information.  ;-)
newbie
Activity: 8
Merit: 0
July 24, 2015, 06:27:40 AM
#1
Hi,

I am looking at the src using the following link

https://github.com/bitcoin/bitcoin/tree/master/src

What is the sequence with this source so that I can line them up and start debugging it to understand it better?

Is there any better documentation explain this?

Meetreks
Jump to: