Bitcoin Forum
April 23, 2024, 01:29:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Poll
Question: Should I use Idiegogo.com or Rockethub.com for donations?
Idiegogo.com - 2 (40%)
Rockethub.com - 3 (60%)
Total Voters: 5

Pages: « 1 2 3 4 5 6 7 [8]  All
  Print  
Author Topic: [ANN] cbitcoin 2.0 - A Bitcoin Library in C  (Read 17179 times)
BitCoinDream
Legendary
*
Offline Offline

Activity: 2324
Merit: 1204

The revolution will be digital


View Profile
June 04, 2014, 02:38:11 PM
 #141

Can we push it into student's syllabus learning C ? If yes, how ? Any idea ?

1713878977
Hero Member
*
Offline Offline

Posts: 1713878977

View Profile Personal Message (Offline)

Ignore
1713878977
Reply with quote  #2

1713878977
Report to moderator
1713878977
Hero Member
*
Offline Offline

Posts: 1713878977

View Profile Personal Message (Offline)

Ignore
1713878977
Reply with quote  #2

1713878977
Report to moderator
The Bitcoin software, network, and concept is called "Bitcoin" with a capitalized "B". Bitcoin currency units are called "bitcoins" with a lowercase "b" -- this is often abbreviated BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713878977
Hero Member
*
Offline Offline

Posts: 1713878977

View Profile Personal Message (Offline)

Ignore
1713878977
Reply with quote  #2

1713878977
Report to moderator
MatthewLM (OP)
Legendary
*
Offline Offline

Activity: 1190
Merit: 1004


View Profile
November 16, 2014, 11:39:06 PM
 #142

Can we push it into student's syllabus learning C ? If yes, how ? Any idea ?

There was one university project using cbitcoin. I'm not sure how much they would be happy for me to disclose about that though.

I changed cbitcoin significantly in a new commit. I removed a lot of incomplete code so that what is left is done to a higher degree of completeness. It has code for HD wallets, transaction construction, script execution/construction, network messages, bitcoin addresses, WIF addresses, general base58 encoding/decoding, basic network communication, proof of work validation and more.
azw409
Member
**
Offline Offline

Activity: 73
Merit: 10


View Profile
January 09, 2015, 03:47:10 PM
 #143

Hi Matt,

Thanks for your work on this, I'm very impressed by the simplicity of it - Bitcoin code that is easy to follow, what a novelty !

I want to do some experimentation with a slightly different blockchain implementation i.e. yet another worthless altcoin and thought that cbitcoin might be a good starting point. Is there a rough example on how to use cbitcoin to create a basic full validating node as I've looked through all the classes and can't find a 'main' function or a basic entry point anywhere ? None of the examples seem to cover this basic case, unless I've missed it.

Thanks

Andrew
MatthewLM (OP)
Legendary
*
Offline Offline

Activity: 1190
Merit: 1004


View Profile
January 09, 2015, 06:55:38 PM
 #144

Hi Andrew,

I have worked on full validation on cbitcoin, though I decided to scrap it in favour of more primitive bitcoin functions only, because of the time and work involved in getting it fully functional and tested. cbitcoin however would give a set of tools to help with creating a fully validating node, and the CBNetworkCommunicator code goes some way to implementing a node (handshakes, pings, peer discovery etc.). For blockchain validation you could look at the old CBValidator code, though I removed it. The library still has things such as address encoding, BIP0032 HD Wallets, message structures inc. serialisation, basic validation functions (merkle tree functions, proof of work stuff etc.), script creation/execution, and transaction creation/signing.

However to create an alt-coin from it would be an unnecessary difficulty in my opinion, though it could make an interesting project for sure, and cbitcoin may be useful in projects, though I can't guarantee that it's 100% correct and bug free. I am personally using the HD wallet code in another project with some modifications. I also use the example programs quite a lot: https://github.com/MatthewLM/cbitcoin/tree/master/examples

Regards,

Matthew
Pages: « 1 2 3 4 5 6 7 [8]  All
  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!