Bitcoin Forum
May 15, 2026, 08:41:52 AM *
News: Latest Bitcoin Core release: 31.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 [59] 60 61 62 63 64 65 66 67 68 69 70 71 »
  Print  
Author Topic: [ANN][SIM] Simcoin - A Simple Coin  (Read 157801 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
NxtChg (OP)
Hero Member
*****
Offline

Activity: 840
Merit: 1002


Simcoin Developer


View Profile WWW
August 24, 2014, 11:48:44 AM
 #1161

One thing that maybe you could do is to use memory tables to save transactions in memory and periodically  dump them in 1 second timeframe onto the disk.

Transactions are already queued in memory as C++ objects, so no need for memory tables.

Yes, my current approach is to accumulate them in a separate thread for some time, then group into a single DB transaction and write.

If checkpointing gets triggered it will not stall the system, because writing is now done in a separate thread and checkpointing doesn't block readers, at least not for any significant time.



Thanks Smiley

Simcoin: https://simtalk.org:444/ | The Simplest Bitcoin Wallet: https://tsbw.io/ | Coinmix: https://coinmix.to | Tippr stats: https://tsbw.io/tippr/
--
About smaragda and his lies: https://medium.com/@nxtchg/about-smaragda-and-his-lies-c376e4694de9
Nxtblg
Legendary
*
Offline

Activity: 924
Merit: 1000



View Profile WWW
August 24, 2014, 04:18:50 PM
 #1162

Progress report

Wow...it sounds almost like you could write a textbook on DB programming. Smiley

(So stop complaining that this project is taking too long – go invest in toy coins that don't pay attention to this kind of stuff).

Not complaining at all...in fact, I'm sitting here regretting that I'm fiat-broke and BTC-locked. If only I had a few thousand to spare, I'd be bothering you with another deposit to SimXchg. Grin






██████████████████████████████████████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████████████▄▄▄███████████████████████
███████████████████████████████████████████████████████████████████████▀▀▀████████████████████████
██████████████████████████████████████████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████████████████████████████████████████





...INTRODUCING WAVES........
...ULTIMATE ASSET/CUSTOM TOKEN BLOCKCHAIN PLATFORM...






NxtChg (OP)
Hero Member
*****
Offline

Activity: 840
Merit: 1002


Simcoin Developer


View Profile WWW
August 25, 2014, 10:44:03 AM
Last edit: August 25, 2014, 10:57:35 AM by NxtChg
 #1163

2014/08/24 Monero Blockchain Spam Attack - Post Mortem

On 2014/08/24 a spam attack was launched against the Monero blockchain. Up to that point, Monero had a relatively low fixed fee per transaction of 0.005 XMR (under 1 US cent per transaction). This allowed the attacker to broadcast extremely large transactions every 5 seconds.

For the most part, the network worked as expected. The dynamic block size limit allowed the max block size to grow, and transactions were broadcast without incident. However, the (relatively) slow expansion in the median block size, among other things, lead to some transactions taking some time to confirm. This is not the usual turn of events - normally an increase in usage occurs over a couple of days in a best case scenario (Monero is featured on Dr Phil and Oprah, and every Monero user gets a whale once they check under their seat). At its worst, there were ~400 transactions in the memory pool that were waiting to be confirmed. The sudden, sharp, drastic increase means that the network needed to adjust, and in the interim some transactions took anything from a few extra minutes to an hour longer than usual.

Let me get this right, an unusually large transaction every 5 seconds brought Monero to a halt and required an urgent fork to hike up the fees.

See, what I am talking about?

Almost every coin out there now is a toy coin. The fact that they seem working is just a consequence of the fact that nobody bothered to seriously rattle them.

Simcoin: https://simtalk.org:444/ | The Simplest Bitcoin Wallet: https://tsbw.io/ | Coinmix: https://coinmix.to | Tippr stats: https://tsbw.io/tippr/
--
About smaragda and his lies: https://medium.com/@nxtchg/about-smaragda-and-his-lies-c376e4694de9
klee
Legendary
*
Offline

Activity: 1498
Merit: 1002



View Profile
August 25, 2014, 11:18:34 AM
 #1164

2014/08/24 Monero Blockchain Spam Attack - Post Mortem

On 2014/08/24 a spam attack was launched against the Monero blockchain. Up to that point, Monero had a relatively low fixed fee per transaction of 0.005 XMR (under 1 US cent per transaction). This allowed the attacker to broadcast extremely large transactions every 5 seconds.

For the most part, the network worked as expected. The dynamic block size limit allowed the max block size to grow, and transactions were broadcast without incident. However, the (relatively) slow expansion in the median block size, among other things, lead to some transactions taking some time to confirm. This is not the usual turn of events - normally an increase in usage occurs over a couple of days in a best case scenario (Monero is featured on Dr Phil and Oprah, and every Monero user gets a whale once they check under their seat). At its worst, there were ~400 transactions in the memory pool that were waiting to be confirmed. The sudden, sharp, drastic increase means that the network needed to adjust, and in the interim some transactions took anything from a few extra minutes to an hour longer than usual.

Let me get this right, an unusually large transaction every 5 seconds brought Monero to a halt and required an urgent fork to hike up the fees.

See, what I am talking about?

Almost every coin out there now is a toy coin. The fact that they seem working is just a consequence of the fact that nobody bothered to seriously rattle them.

Few, but ripe.
-Carl Friedrich Gauss
xiaosu
Full Member
***
Offline

Activity: 126
Merit: 100


View Profile
August 25, 2014, 11:21:51 AM
 #1165

At least NxtChg is still work and i trust this guy coz he is really have balls. Wink
klee
Legendary
*
Offline

Activity: 1498
Merit: 1002



View Profile
August 25, 2014, 12:05:28 PM
 #1166

Most coins promise so many features and breakthroughs and shills try to hype them.
I have invested in some of them too but when SIM will ROI like BTC and NXT I will be again the one who saw it again.

The rest can go follow stupid pump & dumpers at twitter and NXT AE..
fotathan
Newbie
*
Offline

Activity: 7
Merit: 0


View Profile
August 25, 2014, 03:27:35 PM
 #1167

Most coins promise so many features and breakthroughs and shills try to hype them.
I have invested in some of them too but when SIM will ROI like BTC and NXT I will be again the one who saw it again.

The rest can go follow stupid pump & dumpers at twitter and NXT AE..

+1
I'm with you on that!
wizzardTim
Legendary
*
Offline

Activity: 1708
Merit: 1000


Reality is stranger than fiction


View Profile
August 25, 2014, 05:27:56 PM
 #1168

Most coins promise so many features and breakthroughs and shills try to hype them.
I have invested in some of them too but when SIM will ROI like BTC and NXT I will be again the one who saw it again.

The rest can go follow stupid pump & dumpers at twitter and NXT AE..

Well said

Behold the Tangle Mysteries! Dare to know It's truth.

- Excerpt from the IOTA Sacred Texts Vol. I
NxtChg (OP)
Hero Member
*****
Offline

Activity: 840
Merit: 1002


Simcoin Developer


View Profile WWW
August 25, 2014, 05:30:42 PM
 #1169

Thanks for your support, guys Smiley

Simcoin: https://simtalk.org:444/ | The Simplest Bitcoin Wallet: https://tsbw.io/ | Coinmix: https://coinmix.to | Tippr stats: https://tsbw.io/tippr/
--
About smaragda and his lies: https://medium.com/@nxtchg/about-smaragda-and-his-lies-c376e4694de9
NxtChg (OP)
Hero Member
*****
Offline

Activity: 840
Merit: 1002


Simcoin Developer


View Profile WWW
August 25, 2014, 07:40:58 PM
 #1170

Code:
class Thread
{
 protected: HANDLE h;
 public:
virtual void run(){ }

bool start(){ h = (HANDLE)_beginthread(Run, 0, this); return (h > 0); }

static void __cdecl Run(void *obj){ ((Thread*)obj)->run(); }
};

Ain't this class a beauty? Smiley

Simcoin: https://simtalk.org:444/ | The Simplest Bitcoin Wallet: https://tsbw.io/ | Coinmix: https://coinmix.to | Tippr stats: https://tsbw.io/tippr/
--
About smaragda and his lies: https://medium.com/@nxtchg/about-smaragda-and-his-lies-c376e4694de9
lemfuture
Hero Member
*****
Offline

Activity: 686
Merit: 500


View Profile
August 25, 2014, 07:43:01 PM
 #1171

i don't get it ^

1ADLcfwTofFXb95pKhebpeRkJ4WTWsvQXB
NxtChg (OP)
Hero Member
*****
Offline

Activity: 840
Merit: 1002


Simcoin Developer


View Profile WWW
August 28, 2014, 12:08:41 PM
 #1172


https://nxtforum.org/general-discussion/public-key-for-fresh-accounts-this-is-a-wrong-decision/

Quote from: _mr_e
why in the world wasn't that done from day one???

Indeed.

Simcoin: https://simtalk.org:444/ | The Simplest Bitcoin Wallet: https://tsbw.io/ | Coinmix: https://coinmix.to | Tippr stats: https://tsbw.io/tippr/
--
About smaragda and his lies: https://medium.com/@nxtchg/about-smaragda-and-his-lies-c376e4694de9
kufan
Full Member
***
Offline

Activity: 241
Merit: 100


View Profile
August 30, 2014, 06:08:52 AM
 #1173

It seems that it will become a good coin. Smiley
dance
Full Member
***
Offline

Activity: 189
Merit: 100


View Profile
August 30, 2014, 10:19:45 AM
 #1174

What speed of transactions it will have?

My design goal is "at least 100 transactions per second with confirmation time under 1 second".
Ye, that's why I'm asking. How fast transactions will be in the September's core release?

Is it possible to have (and exceed) the TPS of Visa?

By the way, transaction size:
* Bitcoin: 250 bytes (although it can easily reach 5-10 Kb, depending on the number of inputs and outputs)
* NXT: 160 bytes
* SIM: 96 bytes
Not bad.
Yes, but 100 bytes * 30,000 tps = 3MB/s. Which brings me to thoughts about decentralized currencies having decentralized hierarchy.
NxtChg (OP)
Hero Member
*****
Offline

Activity: 840
Merit: 1002


Simcoin Developer


View Profile WWW
August 30, 2014, 11:09:58 AM
 #1175

Is it possible to have (and exceed) the TPS of Visa?

No crypto will be able to match Visa any time soon.

Luckily, it will also probably not be needed in the nearest future.


Yes, but 100 bytes * 30,000 tps = 3MB/s. Which brings me to thoughts about decentralized currencies having decentralized hierarchy.

30,000 TPS is a ridiculous number.

And at 100 TPS it will be just 10 Kb/sec.

Simcoin: https://simtalk.org:444/ | The Simplest Bitcoin Wallet: https://tsbw.io/ | Coinmix: https://coinmix.to | Tippr stats: https://tsbw.io/tippr/
--
About smaragda and his lies: https://medium.com/@nxtchg/about-smaragda-and-his-lies-c376e4694de9
dance
Full Member
***
Offline

Activity: 189
Merit: 100


View Profile
August 30, 2014, 11:29:29 AM
 #1176

Is it possible to have (and exceed) the TPS of Visa?

No crypto will be able to match Visa any time soon.
Luckily, it will also probably not be needed in the nearest future.

Yes, but 100 bytes * 30,000 tps = 3MB/s. Which brings me to thoughts about decentralized currencies having decentralized hierarchy.

30,000 TPS is a ridiculous number.

And at 100 TPS it will be just 10 Kb/sec.
25,000 TPS it is just what is written about Visa alone. There are other payment systems, plus I guess most of the people on the planet still using paper money.
I don't want to hear about crypto not trying to supersede majority of money transactions in the world.
NxtChg (OP)
Hero Member
*****
Offline

Activity: 840
Merit: 1002


Simcoin Developer


View Profile WWW
August 30, 2014, 11:39:37 AM
 #1177

I don't want to hear about crypto not trying to supersede majority of money transactions in the world.

I guess if you lived a century ago you would go to Wright brothers and tell them that you are very upset they do not build their planes to be able to fly to Mars...

Simcoin: https://simtalk.org:444/ | The Simplest Bitcoin Wallet: https://tsbw.io/ | Coinmix: https://coinmix.to | Tippr stats: https://tsbw.io/tippr/
--
About smaragda and his lies: https://medium.com/@nxtchg/about-smaragda-and-his-lies-c376e4694de9
klee
Legendary
*
Offline

Activity: 1498
Merit: 1002



View Profile
August 30, 2014, 11:44:55 AM
 #1178

I don't want to hear about crypto not trying to supersede majority of money transactions in the world.

I guess if you lived a century ago you would go to Wright brothers and tell them that you are very upset they do not build their planes to be able to fly to Mars...

I HAVE A DREAM!!!!....
NxtChg (OP)
Hero Member
*****
Offline

Activity: 840
Merit: 1002


Simcoin Developer


View Profile WWW
August 31, 2014, 02:34:15 PM
 #1179

Distribution update



254 accounts own simcoins now vs 210 after the IPO.

The top 10 accounts own 21.26% vs 21.25% on July 20.

Progress report

Not much of a progress this week, had to take care of some real life stuff.

Nevertheless, did a major refactoring of the Heart (that's the main module that is responsible for transaction consensus). Simplified a lot, transactions are now not individual tasks anymore, but simple objects inside the Heart, this should also improve performance. Fixed a few bugs. Transaction Pipeline diagram updated to reflect all the changes.

So we are now on the homestretch before the first complete version of the core.

This is supposed to be a bare-minimum system, but with all the main functionality in place:
- encrypted network protocol
- time sync
- secure, encrypted vault
- account registration
- 'send' transaction
- fast and reliable consensus
- bootstrapping
- reorg
- arbitrary history truncation
- compact database
- client subscription/account info

I estimate that although some parts might take a bit longer, the core itself should be ready by the end of September (assuming no major interruptions, of course - things happen, you know).

Node's codebase is currently 12,500 lines of code, all the cryptographic code (blake, salsa, ed25519) takes about 3,000 lines. Also, some parts are still messy, with lots of "this should probably…"-style comments, so I expect it to shrink even further.


Simcoin: https://simtalk.org:444/ | The Simplest Bitcoin Wallet: https://tsbw.io/ | Coinmix: https://coinmix.to | Tippr stats: https://tsbw.io/tippr/
--
About smaragda and his lies: https://medium.com/@nxtchg/about-smaragda-and-his-lies-c376e4694de9
marek3ball
Full Member
***
Offline

Activity: 180
Merit: 100


View Profile
August 31, 2014, 05:59:53 PM
 #1180

I didn't read your answer there. I like your confidence about SimCoin!  Cool
Pages: « 1 ... 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 [59] 60 61 62 63 64 65 66 67 68 69 70 71 »
  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!