Bitcoin Forum
June 16, 2024, 08:54:40 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 3 »
1  Bitcoin / Hardware / Re: Ambric / Nethra Am2045 MPPA Dev fpga help on: July 11, 2013, 04:17:02 PM
wrong forum section.
Also this is no FPGA device and requires special software (probably not written yet) to do any kind of mining. It appears to me that it has a lot similarities to a GPU card, but without *a lot* of documentation about the design of the card and its programming model I don't see that you can use it for mining anytime soon :/
2  Alternate cryptocurrencies / Altcoin Discussion / Re: SmallChange [research-only] [Litecoin based] [15 seconds blocks] [*update now*] on: May 28, 2013, 11:40:44 AM
In your opinion, the oscillations are due to a too small hashing network (thus varying a lot when people join or quit it), or are inherent to such a very short block confirmation target, or something else?
I think its the first possible cause you suspected: imo, the oscillation mainly occurred because of the small user base where especially users with relatively high hashing power only contributed when difficulty was low.
Further, I think that problem can be mitigated technically by a more advanced diff/block reward adjustment (or a higher (competing) user base).

Don't forget that high blocksize provides an additional latency. If you are maintaining a fast blockchain (like SMC), you should minimize blockchain syncronization latency. Latency could cause chain forks, which will neutralize all benefits of fast chain, because REORGANIZE will be called too frequently. That's why blocksize limit should be adjusted.
True, but it might be better to further increase the max block size and also increase the target rate a bit if latencies become a problem.. but that's probably better evaluated in a faithful model of smallchange (e.g., Matlab).
Smallchange's main goal is to provide a high transaction per second (tps) rate to be feasible for micro transactions.
3  Alternate cryptocurrencies / Altcoin Discussion / Re: SmallChange [research-only] [Litecoin based] [15 seconds blocks] [*update now*] on: May 22, 2013, 06:31:08 PM
Here the data up until about 2 days ago:
https://github.com/bfroemel/smallchange/blob/master/data/20130520/blockstat.dat?raw=true
It includes extinct blocks -- at least the ones I could obtain.

and some visualizations:

https://github.com/bfroemel/smallchange/blob/master/data/20130520/hashratevsdiff.pdf?raw=true

https://github.com/bfroemel/smallchange/blob/master/data/20130520/blockrate.pdf?raw=true

For both plots, I use the block height as 'time' and not real time. Blockrate is only up until block 90 000 (before the switch to the new network magic).

Most interesting are the startup phase (16 000 to 40 0000) and the network fragmentation caused by the network collision (starting at around 92 000) until it is resolved by the switch to the new network magic number (~ 104 000).

As can seen in the blockrate plot, difficulty adjustment has room for some optimization. Each time difficulty went down, people threw their hashing power in and mined as long as difficulty remained low.. causing the diff oscillation of about 72 hours - that's about 2 times the time that is considered for the current difficulty adjustment algorithm.
Interestingly (not visible in the graphs, but the raw data), the extinct/stale block rate (blocks that divert from the main chain) is rather low - even during the times where several blocks were found within the same second/timestamp. That rate peaked during the network collision period.

Quote from: defaced
Also did you change the max blocksize at all, and if so, what is one of the major things you have noticed?

see my argument here:
https://bitcointalk.org/index.php?topic=182430.msg2040013#msg2040013
which basically is: max blocksize remained unchanged, because it only restricts the number of transactions per block. Smallchange pursued the goal to be a microtransaction currency and that means we'd need to support lots of tps.

Overall, the network hash rate has peaked during the period where block rewards started (about 30 MHashes/sec). We are currently at block 136 436 and the current estimated network hashing power has stagnated to 0.25 MHashes/sec which means that this little experiment is basically at its end Wink
-> It's been fun, I've learned a lot - thanks for all. I might work on difficulty adjustment in the midterm future - if anyone wants to try out things with what I started, I am always happy to review/comment on them or take code contributions.

\edit: small error in the blockrate plot: it's not blocks per second, but diff time between two blocks -> should have applied f(x)=1/x .
4  Alternate cryptocurrencies / Altcoin Discussion / Re: SmallChange [research-only] [Litecoin based] [15 seconds blocks] [*update now*] on: May 14, 2013, 07:22:22 AM
REMEMBER:

SMC forum:

http://forum.smallchange.tk
Also, I made a 1000 SMC buy order on this exchange I made up for now:

https://docs.google.com/spreadsheet/ccc?key=0AgpTyKmDEFW1dFpJMGxsZEswcU56RElrUm5SVDFvbWc&usp=sharing

Not to devalue your work and efforts in any way, but I don't think that an exchange or a whole forum is currently needed for SMC, but SMC is in desperate need of novel ideas and implementing them Wink
-> of course, if it is (still) fun for you to make those things, do them by all means.
5  Alternate cryptocurrencies / Altcoin Discussion / Re: SmallChange [research-only] [Litecoin based] [15 seconds blocks] [*update now*] on: May 14, 2013, 07:02:48 AM
this one should be online all the time, it's server "92.240.244.44:9030" (if i'll not change my mind Smiley)

but now it looks lite this:
        "addr" : "80.123.216.178:41147",
        "addr" : "92.240.244.44:9030",
        "addr" : "92.240.244.44:59237",
        "addr" : "192.168.55.18:50644", // local
        "addr" : "109.207.84.196:49199",
Thanks - a permanent non-NAT node is very appreciated (if you don't change your mind Wink ).

Also even without providing a list of nodes, I can find and maintain right now 4 connections.

Quote from: RichG
And I am getting weird DB errors:

************************
EXCEPTION: 11DbException       
Db::put: Cannot allocate memory       
smallchange in ProcessMessages()   
Quote from: sido
i was experiencing same issue.. just delete your blockchain database and let your wallet download blockchain again...
Hmm.. that should not have happened; strange. Any more (earlier) messages in the debug.log? At least on Linux with the command line node software I had no problems. Even the peer database was gracefully reinitiated because of the changed network magic.
6  Alternate cryptocurrencies / Altcoin Discussion / Re: SmallChange [research-only] [Litecoin based] [15 seconds blocks] [*update now*] on: May 13, 2013, 06:13:46 PM
How well is small change maintaining the 15 second block target, and does the reward of 4 coins per 15 seconds seem to have any effect?

I know with Franko, that was one of my main concerns with the 30 second block times I chose. Also did you change the max blocksize at all, and if so, what is one of the major things you have noticed?
As soon as I find a few hours free time (probably next weekend), I'll upload some metrics with a timeline of the 'major events' and try to interpret those metrics (also towards your questions).


Quote
Anybody finding nodes? I don't.
Me too. From the 9 nodes still in the IRC channels, currently only mine appears to be on the newer version.
7  Alternate cryptocurrencies / Altcoin Discussion / Re: SmallChange [research-only] [Litecoin based] [15 seconds blocks] [scrypt] on: May 11, 2013, 06:56:26 AM
lightenup, you might consider flagging the need to update in the thread title, if that can still be edited.  It's easy to miss, and not everyone running SMC will necessarily even click on the topic.
Good idea, done.

Quote from: binaryFate
I updated to latest git version. Can we found out which of the "new" or "old" block chain we're mining when we find blocks?
If the older version overwrites the newer, REORGANIZE messages with high disconnected blocks should appear in your debug.log. Another indicator is that you lose mined coins. If the newer version overwrites the older, then everything stays 'normal'.
Each time someone from the old version updates and joins the new version, he or she resynchronizes the two block chains. If the older has been faster, the newer is overwritten (from the split/fork point). -> At most the mining efforts starting from the update are lost.
Currently, the network hashing power of the newer version is rather large (about 6 MHashes/sec), we are at block height 100 941.

--
now is a good time to update (see https://bitcointalk.org/index.php?topic=182430.msg2102353#msg2102353).
8  Alternate cryptocurrencies / Altcoin Discussion / Re: SmallChange [research-only] [Litecoin based] [15 seconds blocks] [scrypt] on: May 10, 2013, 10:56:10 PM
If I understood correctly, you already hard-forked SMC? If yes, LOL, you shouldn't do it like that! You need to set some future block height an give miners enough time to
upgrade to newest version of the wallet. Unless 51% hashpower is using that newest version of the wallet things will go wrong and many will be really pissed once they find
out they've been mining on abandoned blockchain for days or weeks. Terracoin had 3 hard-forks in very short period of time and network is still in complete chaos due to
many miners or mere users of TRC never upgrading, upgrading once or twice but not three times.
For some updates (e.g. difficulty adjustment algorithm) that would be the proper way. Here the problem is that a few thousand peers of foreign nodes need to get out as fast as possible -- so I opted for this radical update-path.

Hard-fork itself is the ultimate issue, not "few thousand peers of foreign nodes need to get out as fast as possible" or "difficulty adjustment algorithm" or anything else.
The several thousand *incompatible* peer addresses causes sever problems to connect to legitimate network nodes, ultimately causing network fragmentation. I thought of several, but the fastest/simplest and imo most appropriate and even most interesting solution for this (spare time) research coin is the one I carried out.

Quote
SMC mining aborted. I ain't gonna support coin developed by retard who is hard-forking blockchain on will.
I'd somewhat understand that reaction if you attached any monetary value to SMC. I thought I made that point clear, but speaking of retards: SMC is research and its only value is its blockchain, freely available to any participant. If you want to learn how those coins and tools around them work, you can play around with SMC (I already expressed interest in trying out any reasonable modification suggestions) or use your own fork (full source control) or do the real thing with established coins (invest hashing power, but have little/no influence on the coin itself).

Quote
Bye!
Nevertheless, thanks for the hashing power - bye!
9  Alternate cryptocurrencies / Altcoin Discussion / Re: SmallChange [research-only] [Litecoin based] [15 seconds blocks] [scrypt] on: May 10, 2013, 09:11:16 PM
If I understood correctly, you already hard-forked SMC? If yes, LOL, you shouldn't do it like that! You need to set some future block height an give miners enough time to
upgrade to newest version of the wallet. Unless 51% hashpower is using that newest version of the wallet things will go wrong and many will be really pissed once they find
out they've been mining on abandoned blockchain for days or weeks. Terracoin had 3 hard-forks in very short period of time and network is still in complete chaos due to
many miners or mere users of TRC never upgrading, upgrading once or twice but not three times.
For some updates (e.g. difficulty adjustment algorithm) that would be the proper way. Here the problem is that a few thousand peers of foreign nodes need to get out as fast as possible -- so I opted for this radical update-path.

Quote from: Kyune
Is there a node running the new update I can manually add to see if I can maintain a connection to it with my newly compiled build?  I can't even maintain a connection between the new version and the old version between my two virtual machines, which has me wondering if the two versions can talk to each other.
that's the unfortunate side effect: the new and the old version will not talk to each other. As already offered, I can make connections to new version nodes if provided here in the thread or via private message.

10  Alternate cryptocurrencies / Altcoin Discussion / Re: SmallChange [research-only] [Litecoin based] [15 seconds blocks] [scrypt] on: May 10, 2013, 08:39:54 PM
2013/05/10  please update now (move to a (hopefully unique) network magic number)

I need Win binary. I'm moving to Ubuntu but it is slow, I have been on Win for way too long. It will take some time for me to fully understand how compiling and other stuff work.
There are build instructions for Windows. Unfortunately I am Linux only for a long time already.. also I strongly believe in, everyone should compile his own binaries Wink Maybe you could post if you run into compile troubles and we can help you fix them.

Quote
Network will hard-fork on what block height?
Depends on the transition speed. I expect the scenario to be like that:
assume there are only 3 nodes: n0, n1 and n2 with equal hashing power. At point t0 node n0 updates. At point t1, n2 updates and n0 looses all his mining efforts as n2's block chain must be higher because n1 and n2 mined on it up to the point where n1 moved. Finally at point t3, n3 also moves to the newer version, but his mining efforts are lost, because n0 and n1 naturally could build a higher block chain with their hashing power majority.

Quote from: Kyune
I had previously been using the windows binary.  I just compiled the new update on Ubuntu but am finding that it makes 1 or 2 peer connections at most, downloads zero blocks, and then disconnects from those peers with 30 seconds or so, and remains at zero peers.  Not sure what is going on.

Please give it a few days time. In case you are on a permanent IP you can PM it to me and I'll connect to your node.
11  Alternate cryptocurrencies / Altcoin Discussion / Re: SmallChange [research-only] [Litecoin based] [15 seconds blocks] [scrypt] on: May 10, 2013, 08:18:21 PM
Some incompetent pretended to make a "new" coin without changing the "magic bytes" that differentiate chains?

That was, like one of the very first things learned about cloning bitcoin, where did whoever made this thing even get the diff they used to find all the places where one coin differs from another?

They compared a chain that also had not done it right against the chain that failcoin was cloned from, maybe?

Or just hadn't even heard of diff, maybe?

-MarkM-

So many questions, and all rhetorical.. I hope you're not disappointed that SmallChange never was intended as a real coin. You might want to check out the readme (github link), where I explained why I published the coin here at all
Code:
[..]
So actually, this 'new' coin exists for the following reasons: [..]
12  Alternate cryptocurrencies / Altcoin Discussion / Re: SmallChange [research-only] [Litecoin based] [15 seconds blocks] [scrypt] on: May 10, 2013, 08:01:20 PM
After some testing and consideration the easiest way to fix is a hard move to a new network magic number which does not invalidate the disk stored block chain, but will only invalidate the disk stored peer information. This requires an update and the transition will most likely result in some loss of coins because the network will be split into two partitions until all have updated their client.
As more and more hashing power moves from the older version to the newer, the block chain of the newer version will at some point grow faster than the block chain of the older version which is going to be overtaken (but up to that point each time 'overwritten' when a client moves from the older to the newer version). Anyone mining on the lower chain looses out (which is going to be first on the newer version, but then on the older). Benefits to move to the newer version are that network connectivity will get better again.

Quote from: binaryFate
What would prevent us to do the opposite, that is, to build on purpose a longer chain than LTC, so LTC nodes would start to accept it?

Does the difficulty play any role, so that if LTC difficulty is larger than SMC one, the "disruption" can only be from LTC to SMC and not the opposite? Or it does not matter?
Our hashing power compared to the LTC network or most other LTC based networks is low; hence our difficulty is also low and even if we achieve at some point a higher block chain than other networks, our block chain is most likely incompatible with other networks difficulty requirements.
Also - we have a different genesis block and our blockchain is also not going to fulfill checkpoint requirements of other networks.
Anyway: that's not so much the problem here. Part of the problem is that our network is very very small compared to others and unfortunately, someone seeded a few 1000 (~4000) node ips from a different network. Now the network code tries to establish connections to those other foreign nodes and because of a mistake on my part (didn't use a unique network magic number) those connections are successful up to the point where it tries to catch up with the block chain. All in all it takes a long time until it is found out that the block chains are incompatible, thus it
Quote from: Bitcoin Megastore
takes shitload of time to find valid nodes. It also takes shitload of time for SMC wallet to realise some node is not SMC wallet, even though that other node is
constantly doing "sinister" deeds.

btw: IRC is not down, but the IRC nodes are only partly considered for connections. The clients exchange peer addresses independently of IRC.

The short version of this post:
--> Please update as soon as possible.
13  Alternate cryptocurrencies / Altcoin Discussion / Re: SmallChange [research-only] [Litecoin based] [15 seconds blocks] [scrypt] on: May 09, 2013, 07:33:47 PM
Huh? Where else are they used?
You mean third party apps like block explorers etc?

The actual four individual bytes are defined only once in the entire code.

Change them there and all parts of the code using them use the new values.
True, but how is that going to change this magic value in the user data files? I admit I could only look at the code briefly, but it appeared that the magic value is not only used in the network protocol. Also, as you mentioned: block explorers seem to require the (correct) magic value, hence I assumed changing it in a fast shot will invalidate the (disk stored) block chain.

Quote
You did not answer the question about whether you copied one other coin's unique magic bytes or copied the same ones it had already not made unique, so that maybe you and who-ever you copied from both are going to run into this collision of networks problem.

From where did you copy them? Had they made theirs unique?

-MarkM-
I forked form Litecoin (see first post, github link).
14  Alternate cryptocurrencies / Altcoin Discussion / Re: SmallChange [research-only] [Litecoin based] [15 seconds blocks] [scrypt] on: May 09, 2013, 06:44:43 PM
OK I think found the problem? I had forwarded the port in my router, but I updated the rule from the one I had for QQBcoin, and only changed the internal port! So my router was forwarding BBQcoin stuff from the external port 59333 to the smallchange client! People must still have had my IP in the bbq network and were trying to connect to me.
This explains a lot, why my blockchain kept thinking it was much larger, the 60+ connections etc. I wonder if I mined any BBQcoins to my smallchange address!? haha!

Too many coins, doh!

How is it even receiving blocks from the BBQ network, though?

The 4-byte handshake magic-bytes are copied from BBQ to make it connect to them, presumably?

The whole point of the magic bytes that identify which network you are / which network you are trying to connect to is so clients know instantly whether an incoming call is actually for them not looking for some other network.

Was this coin copied from BBQcoin without assigning a new unique set of magic bytes to identify this network, or did this coin and BBQcoin both copy from some other coin and both fail to do that trivial but essential part of the process of creating a new coin network?

If the latter, both can also get into this same problem with whichever network their magic bytes are causing them to masquerade as.

-MarkM-


my bad; luckily such incidents help to improve things: e.g., the misbehaving client detection should have prevented that SMC clients believed they are behind the block chain. The problem is especially bad, because we got a few 1000 ip addresses from foreign network nodes seeded. Hence for now, please use something like that until I have an update ready*):
Code:
./smallchange -connect=76.105.190.218 -connect=37.46.43.200 -connect=64.188.173.187
Any node ip from: irc.lfnet.org, channel #smallchange00 will do.


*) unfortunately it's not as simple as to just change these 4 bytes, as they are not only used in the network code.
15  Alternate cryptocurrencies / Altcoin Discussion / Re: SmallChange [research-only] [Litecoin based] [15 seconds blocks] [scrypt] on: May 09, 2013, 05:01:12 PM
My client suddenly says I'm 300 000 blocks behind.
We're around block 90 000 somethiong now, right  Huh

Interesting -- it appears that intentionally or not someone successfully disturbs the network.

\edit: yes at least a few clients claim that they already have a chain of size 349628.
16  Alternate cryptocurrencies / Altcoin Discussion / Re: SmallChange [research-only] [Litecoin based] [15 seconds blocks] [scrypt] on: May 07, 2013, 12:34:19 PM
Strange, I'm pretty sure if said it had ~60 connections
To me it seems impossible. I never got more than ~10 connections with SMC, typically 6~8.
Considering that in the last couple of days there has been a max. total of ~15 active clients, 60 connections are unlikely. Sure it has been SMC and not some other coin?
17  Alternate cryptocurrencies / Altcoin Discussion / Re: SmallChange [research-only] [Litecoin based] [15 seconds blocks] [scrypt] on: May 06, 2013, 11:51:19 AM
- added a few checkpoints for current block chain + reenabled code that does the checkpoint checking

By curiosity, what are these checkpoints exactly? How does it work?
Look at src/checkpoints.cpp - there is basically a table of blocks where their height and corresponding hash is stored.
Each entry is a checkpoint and when the client rescans or downloads the block chain, it verifies it against those entries (i.e., there is no divergence to another illegitimate block chain).
Checkpoints ensure that the block chain stays frozen up to the (last) checkpoint.

Quote from: ronaldinho_07
it's still in "research-progress",isn't it ?
Yes, but why the sad face? research is fun Wink
I'd really like to have more transactions though.. we need games..

Quote from: binaryFate
At least at the current scale, the rules implemented appear to work well.
I'll release some metrics soon.. The diff adjustment should work a bit faster. Multiple blocks per second should be avoided.
I also want to look into pruning the blockchain and adequate tx fees...
18  Alternate cryptocurrencies / Altcoin Discussion / Re: SmallChange [research-only] [Litecoin based] [15 seconds blocks] [scrypt] on: May 05, 2013, 08:54:06 PM
Quote
Any progress?
Well - I am still playing around with difficulty and tx fees. I also left the max block size unchanged for now as I don't see any benefit to reduce it. Currently, the coin would support approx. 160tps i.e., 4 times higher than Bitcoin which is still small compared to real world microtransaction rates.

Nevertheless, I updated the code base w.r.t:
- max. coins corrected to 42 007 680
- added a option to dump block chain statistics
- added a few checkpoints for current block chain + reenabled code that does the checkpoint checking
- new icons (finally distinguishable from Litecoin)

The update is not mandatory but improves security.
19  Alternate cryptocurrencies / Altcoin Discussion / Re: SmallChange [research-only] [Litecoin based] [15 seconds blocks] [scrypt] on: April 26, 2013, 06:52:09 PM

Quote from: datouec

Actually, author already implemented fix for difficulty oscillation problem in the new client.

https://github.com/bfroemel/smallchange/commit/40260037b1108d51416cec0e8e1c457bd42cf9ce

But this project is still positioned as an experiment. Roll Eyes

allways helpful and informed! THANK YOU!

I hope this is an experiment , not a scam.
difference is simple.
experiment:
in case of success, restart the chain. If not, say thank you and leave it.
scam:
"oh! it works just fine, I never ever thought it would, now its no longer an experiment."

I'd like to comment on the experiment part and the purpose of SmallChange: The coin is research only, I explicitly (from the start) expressed that and included some red text in the first post of this thread. It's going to stay 'research only' unless someone announces it as a real currency (and then its up to the people using it or not). In case I am the one to announce*), there is going to be a fresh start; I certainly will not do this in the next couple of months (years?) because I am very new 'to the scene' and still like to play around + 'get a feeling' for this first. I want to add novelty and solve *real* problems instead of just pseudo-managing another rebranded altcoin.
I plan to update the codebase a few times a month and welcome any helpful/useful contribution (which will be duly credited of course; ah yes, and it must survive my(/the community's?) criticism).
Other than that: I wanted to devalue some of the "weaker" coin spinoffs by showing that really any (idiot? Smiley ) can release a cryptocurrency nowadays. Also a few people expressed that the coin has been/is helpful to let them setup/try out services (e.g., mining pools) and get started with the inner details of cryptocurrencies.
So from my part: please expect something slow boiling, maybe useful but probably not. If you have extra resources or have fun experimenting with an alive block chain where you might end up credited as a hashing power contributor or even author: please join - otherwise wait until this is over or becomes something good.

btw: the hash rate is currently ridiculously high. Please mine LTCs or something else Wink .. a few KHashes/s are currently (where we are still very close to the original Litecoin code base) really enough...


*) what others do with the codebase or blockchain is already out of my hands -- never has been in my hands Wink
20  Alternate cryptocurrencies / Altcoin Discussion / Re: SmallChange [research-only] [Litecoin based] [15 seconds blocks] [scrypt] on: April 25, 2013, 04:59:48 PM
   *) 420 699 680 total coins

I think it is 42 millions, not 420.
coin_reward x block_per_minute x minute_per_hour x hour_per_day x day_per_year x 5
4*4*60*24*365*5 = ~42 000 000

5 years later... wtf, where are the remaining ~378 000 000?! Cheesy

Thanks, binaryFate.. a slight but embarrassing mistake!
Pages: [1] 2 3 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!