Bitcoin Forum
May 09, 2024, 03:01:59 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Design Diagrams?  (Read 8014 times)
Red (OP)
Full Member
***
Offline Offline

Activity: 210
Merit: 111


View Profile
July 22, 2010, 05:06:05 AM
 #1

Are there any design diagrams other than those in the white paper?

Specifically, I'm looking for details of how the block list/tree is implemented and how each transaction is represented.

UML would be nice but any other data model would do. If they don't exist, could someone point me to the appropriate header files? At the moment, I'm on limited hardware so I can't build and poke around as I normally would.

1715266919
Hero Member
*
Offline Offline

Posts: 1715266919

View Profile Personal Message (Offline)

Ignore
1715266919
Reply with quote  #2

1715266919
Report to moderator
1715266919
Hero Member
*
Offline Offline

Posts: 1715266919

View Profile Personal Message (Offline)

Ignore
1715266919
Reply with quote  #2

1715266919
Report to moderator
1715266919
Hero Member
*
Offline Offline

Posts: 1715266919

View Profile Personal Message (Offline)

Ignore
1715266919
Reply with quote  #2

1715266919
Report to moderator
"This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715266919
Hero Member
*
Offline Offline

Posts: 1715266919

View Profile Personal Message (Offline)

Ignore
1715266919
Reply with quote  #2

1715266919
Report to moderator
1715266919
Hero Member
*
Offline Offline

Posts: 1715266919

View Profile Personal Message (Offline)

Ignore
1715266919
Reply with quote  #2

1715266919
Report to moderator
1715266919
Hero Member
*
Offline Offline

Posts: 1715266919

View Profile Personal Message (Offline)

Ignore
1715266919
Reply with quote  #2

1715266919
Report to moderator
Red (OP)
Full Member
***
Offline Offline

Activity: 210
Merit: 111


View Profile
July 22, 2010, 06:52:50 AM
 #2

So imagine that, just read the code and all my questions were answered. All but one at least!

Is the bitcoin address a SHA-1 hash of the public key? or perhaps some other 160 bit hash? and why is it a 34 character string instead of say the more common 32 char 5 bit representation?

By the way, very nice code base guys! Kudos!
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5194
Merit: 12977


View Profile
July 22, 2010, 07:21:38 PM
 #3

Is the bitcoin address a SHA-1 hash of the public key? or perhaps some other 160 bit hash? and why is it a 34 character string instead of say the more common 32 char 5 bit representation?

It's a RIPEMD-160 hash of the SHA-256 hash of the public key. It also contains version information and a check code.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
Red (OP)
Full Member
***
Offline Offline

Activity: 210
Merit: 111


View Profile
July 23, 2010, 03:22:17 AM
 #4

Thank you!
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!