Pages:
Author

Topic: [ANN] cbitcoin 2.0 - A Bitcoin Library in C - page 6. (Read 17227 times)

sr. member
Activity: 444
Merit: 250
November 14, 2012, 06:03:07 PM
#44
KDE does/did something like that. They licensed under both GPL and commercial license (for money) in case some buyer didn't like the restrictions of GPL.

No, KDE is fully open source under various licenses, and does not sell proprietary licenses. You're thinking of Qt, which KDE happens to use, but does not manage or produce.
legendary
Activity: 1190
Merit: 1004
November 14, 2012, 04:53:18 PM
#43
Don't worry, I have implemented it as 101 confirmations. Obviously the block with the coinbase is included as a confirmation and I meant 101 confirmations. I did spend some time staring at it to make sure I did implement it correctly. Others might want to check again: https://github.com/MatthewLM/cbitcoin/blob/7ff4abcff40221ac0eee7a32b12b4509ee4a9f56/src/CBFullValidator.c#L450.

If we have a coinbase in block 0, we see by my code that the coinbase can be spent at block 100 (100 - 0 == 100) which is at the maturity and 101 confirmations, therefore it is correct.

I didn't know about the 120 behaviour, though obviously that has nothing to do with the block validation code so I've not missed anything there.
legendary
Activity: 1072
Merit: 1189
November 14, 2012, 04:42:11 PM
#42
I have the coinbase maturity set at 100 and not at 120.

To warn you against a potential misconception (it's bitten me before...), coinbase outputs are valid to spend as of 101 confirmations (i.e. a difference of 100 between the height of the coinbase and the height of the transaction that spends it), but to be safe in the face of reorganisations, the reference client allows spending as of 120.
legendary
Activity: 1190
Merit: 1004
November 14, 2012, 03:28:11 PM
#41
I have the coinbase maturity set at 100 and not at 120.

I'm going to start posting issues on the repository. It would be a good place to look for anyone that wishes to contribute: https://github.com/MatthewLM/cbitcoin/issues?page=1&state=open

As well as reading the README of-course: https://github.com/MatthewLM/cbitcoin/blob/master/README.md#making-a-contribution
legendary
Activity: 1904
Merit: 1002
November 14, 2012, 03:24:25 PM
#40
EDIT:
By "fresh" coins i mean just received coins but having 6-7 confirmations. Official client won't allow to re send these, so this is the reason i created my fork.

So the satsohi client doesn't allow you to make transactions from outputs just found, even when they have 6 confirmations???

I'll get the fundraiser page up probably tomorrow...

I've been working on a B-Tree implementation for indexing. If anyone would like to help, the deletion algorithm need finishing and testing: https://github.com/MatthewLM/cbitcoin/blob/master/src/CBAssociativeArray.c#L154

And I'm following this but I can figure it out in my head: http://www.scribd.com/doc/18210/B-TREE-TUTORIAL-PPT

I'm not sure what he is talking about unless maybe it's newly generated coins, which need 120 confirmations.  With regular transactions, I can respend received coins after 1 confirmation.
legendary
Activity: 1190
Merit: 1004
November 14, 2012, 03:13:27 PM
#39
EDIT:
By "fresh" coins i mean just received coins but having 6-7 confirmations. Official client won't allow to re send these, so this is the reason i created my fork.

So the satsohi client doesn't allow you to make transactions from outputs just found, even when they have 6 confirmations???

I'll get the fundraiser page up probably tomorrow...

I've been working on a B-Tree implementation for indexing. If anyone would like to help, the deletion algorithm need finishing and testing: https://github.com/MatthewLM/cbitcoin/blob/master/src/CBAssociativeArray.c#L154

And I'm following this but I can figure it out in my head: http://www.scribd.com/doc/18210/B-TREE-TUTORIAL-PPT
legendary
Activity: 1190
Merit: 1004
November 14, 2012, 04:52:33 AM
#38
cbitcoin is not a client, nor will it be. When it is finished you could use it to create your own client which follows any behaviour you'd like as long as it works with the protocol. The full node implementation will provide the block-chain validation and you will be able to register events for incoming transactions which match addresses as well as for when transactions are found in blocks I've not got to implementing any of that yet.

It's really hard selecting which funding platform to use. There are advantages and disadvantages to both platforms it seems. I don't like indiegogo's checkout system which annoys you about paypal... I think I'll use rockethub. Any ideas for rewards? There's not much I can do. I could create a "Contributors" webpage on cbitcoin.com with a "Financial Contributors" or "Sponsors" section where I can place people's and business names with website links, logos and/or bitcoin addresses.

Perhaps there could be gold/silver/bronze sponsorship?
legendary
Activity: 1470
Merit: 1006
Bringing Legendary Har® to you since 1952
November 14, 2012, 04:15:37 AM
#37
#MatthewLM:

Hey Matthew, does your client allow user to risk re-sending "fresh" coins without a fee, or do I have to fork cbitcoin the same as i forked mainline client ?

EDIT:
By "fresh" coins i mean just received coins but having 6-7 confirmations. Official client won't allow to re send these, so this is the reason i created my fork.
legendary
Activity: 1190
Merit: 1004
November 13, 2012, 05:21:00 PM
#36
I'm going to decide tomorrow. In the meantime I'm going to leave a poll up so people can give their opinion.
legendary
Activity: 1078
Merit: 1003
November 13, 2012, 04:39:52 PM
#35
Just opening up both homepages I'd say I like the Indiegogo interface better but I like Rockethub more because of the activity ticker. But this is purely superficially speaking and I think I'd try to figure out which one is more popular and go with that one.
legendary
Activity: 1190
Merit: 1004
November 13, 2012, 04:13:23 PM
#34
Well I'm undecided between http://www.rockethub.com/ and http://www.indiegogo.com/.

The fee structure is reasonably similar:

http://rockethub.com

Reached goal = 4%
Failed goal = 8%
Transaction fee = 4%

http://indiegogo.com

Reached goal = 4%
Failed goal = 9%
Transaction fee = 3%
Plus $25 bank transfer fee.

I personally like the interface of indiegogo more. What do others think?
legendary
Activity: 1190
Merit: 1004
November 13, 2012, 12:15:53 PM
#33
+21 million  Wink

I will donate a small amount sometime soon

Thank you!

And thank you too.  Smiley
legendary
Activity: 1904
Merit: 1037
Trusted Bitcoiner
November 13, 2012, 12:12:44 PM
#32
It uses the same block-chain as bitcoin. At the moment it has code for the production netwok but I plan to add testnet support also and maybe more configurable features for new chains in the future as well.

The code should be cleaner, yes, and have more documentation. On top of that, the fact my code is a library will make it more useful than bitcoind, it will have fewer and more configurable dependencies and will hopefully be more efficient, but that is yet to be judged.

+21 million  Wink

I will donate a small amount sometime soon

Thank you!
legendary
Activity: 1190
Merit: 1004
November 13, 2012, 12:08:29 PM
#31
It uses the same block-chain as bitcoin. At the moment it has code for the production netwok but I plan to add testnet support also and maybe more configurable features for new chains in the future as well.

The code should be cleaner, yes, and have more documentation. On top of that, the fact my code is a library will make it more useful than bitcoind, it will have fewer and more configurable dependencies and will hopefully be more efficient, but that is yet to be judged.
legendary
Activity: 1904
Merit: 1037
Trusted Bitcoiner
November 13, 2012, 12:01:30 PM
#30
No it is not a fork, it is a complete re-implementation of bitcoin, in the C programming language, as a software library.

would cbitcoin start its own blockchain?

or is it just a re-implementation of bitcoind, for cleaner code, and would use the same blockchain as bitcoin?
legendary
Activity: 1190
Merit: 1004
November 13, 2012, 11:45:57 AM
#29
No it is not a fork, it is a complete re-implementation of bitcoin, in the C programming language, as a software library.
legendary
Activity: 1904
Merit: 1037
Trusted Bitcoiner
November 13, 2012, 11:31:30 AM
#28
is this a bitcoin fork?
whats different about this fork?

sry OP is one huge wall of text, no time...
legendary
Activity: 1190
Merit: 1004
November 13, 2012, 09:09:10 AM
#27
Well all together I've found these websites which provide the type of thing I'd want:

http://www.rockethub.com/ (Thanks jimbobway)
http://www.kickstarter.com/
http://www.crowdfunder.co.uk/
http://www.indiegogo.com/
http://www.chipin.com/
http://www.gofundme.com/

I'll have to carefully go through them all to determine what I want. If anyone has any comments about them, please post them.
legendary
Activity: 1304
Merit: 1015
November 09, 2012, 06:55:38 PM
#26
Not sure if you know this but the creator of Armory, etothepi, was able to raise over $4000 for this bitcoin client using rockethub.com.
legendary
Activity: 1190
Merit: 1004
November 09, 2012, 06:27:17 PM
#25
MatthewLM,

I think you should create account on Gittip to receive donations, see: https://www.gittip.com/about/
They probably have plans to support Bitcoin, see: https://github.com/whit537/www.gittip.com/issues/14

Thanks for the suggestion, though whatever service I use, it should be suited for the fact I have a UK bank account. I'll take a further look at fiat methods of donations tomorrow.

I'm also looking for a suitable noSQL database for block-chain storage, so I'll hopefully sort that out tomorrow: http://stackoverflow.com/questions/13317443/an-alternative-to-leveldb-that-allows-you-to-read-a-subsection-of-the-data-recor But for now, I'm off to bed  Wink
Pages:
Jump to: