Bitcoin Forum
May 02, 2024, 04:45:26 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 157669 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 Offline

Activity: 840
Merit: 1000


Simcoin Developer


View Profile WWW
December 28, 2014, 01:52:05 PM
 #1361

Progress report

This week I continued switching tasks to the new scheme of commands and events, which I like very much – it organizes things nicely and gives you great flexibility.

For example, to work with the ini file before there were two functions: ini.get() and ini.set().

Now those functions are re-routed through commands. This instantly makes them available to the host application if it decides to store some of its settings in the ini file.

But that's not all - the host can easily intercept those commands and provide its own storage for all configuration variables!

The same way it can either send commands to write to the log file or intercept them to redirect log messages somewhere else.

It also makes it easier to debug – I wrote a special task that just listens to all passing commands and writes selected types into a file, so you can then examine the history of what was going on.

--

Also scanned my paper notes 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
1714625126
Hero Member
*
Offline Offline

Posts: 1714625126

View Profile Personal Message (Offline)

Ignore
1714625126
Reply with quote  #2

1714625126
Report to moderator
TalkImg was created especially for hosting images on bitcointalk.org: try it next time you want to post an image
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714625126
Hero Member
*
Offline Offline

Posts: 1714625126

View Profile Personal Message (Offline)

Ignore
1714625126
Reply with quote  #2

1714625126
Report to moderator
marek3ball-orig
Member
**
Offline Offline

Activity: 80
Merit: 10


View Profile
December 29, 2014, 07:32:42 PM
 #1362

Holy shit ... BUY ... Cheesy
Tobo
Hero Member
*****
Offline Offline

Activity: 763
Merit: 500


View Profile
December 30, 2014, 02:33:27 PM
 #1363

Today is almost exactly 9 months since Simcoin started (jeez, time really flies!).

To celebrate, all Simcoin stakeholders will get a small present today – everybody’s stake will be increased by 1%! Smiley

Happy Holidays!


+1. Thanks!
mladen00
Legendary
*
Offline Offline

Activity: 2124
Merit: 1013


K-ing®


View Profile
December 30, 2014, 03:37:52 PM
 #1364

thank you dev

wish you all the best in 2015.

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

Activity: 840
Merit: 1000


Simcoin Developer


View Profile WWW
January 02, 2015, 10:28:41 PM
 #1365

A good article:

http://ventrellathing.wordpress.com/2013/06/18/the-case-for-slow-programming/

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 Offline

Activity: 840
Merit: 1000


Simcoin Developer


View Profile WWW
January 04, 2015, 02:47:55 PM
Last edit: January 04, 2015, 04:52:33 PM by NxtChg
 #1366

Progress report

Not a bad week, considering all the holiday distractions.

Tasks can now run at different levels to allow ordered processing of commands. There are also two passes for each command. This way I can emulate OOP, where a higher level task can extend a lower level task functionality by modifying incoming and outgoing commands. Or create "filters" that intercept certain commands. Not sure whether to expose this to hosts, but at least that's how it will work inside the core.

Finalized quitting synchronization between the host and the core. This is important because they run in different threads.

Continued adding more commands and documenting them in wiki.

Packet addressing changed to be transport-independent. This is the most flexible solution; now the core can handle packets regardless of how they arrived, via UDP or some other method.

Triage task started, its job will be to prioritize incoming packets and limit packet rates to prevent attacks and abuses. It will also be responsible for packet encryption now, to make it easier to implement alternative transport protocols, if needed.

Almost whole day spent restoring simcoin.info, because the %$@#%& qhoster just lost my VPS and refused to do anything about it "because New Year"! Still waiting for them to restore it! Stay away from that "company", seriously. It was foolish of me to keep a server with them, even for things that are not so important.

Also modified my PHP WebSockets server to use streams instead of sockets, so it could support secure connections (wss:// instead of ws://). Surprisingly, it worked 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
twistelaar
Legendary
*
Offline Offline

Activity: 1148
Merit: 1000


View Profile
January 07, 2015, 12:49:31 AM
 #1367

Hello Dev!

I was thinking.. You are already busy with the website/design/promovideo/logo? Maybe hire somebody? I can recommend Bitcrea, he accepts BTC or SIM and he can do all the above. Check out his website:

http://bitcrea.com/
cryptodevil
Legendary
*
Offline Offline

Activity: 2170
Merit: 1240


Thread-puller extraordinaire


View Profile
January 08, 2015, 09:24:48 AM
 #1368

Is any of this of relevance to Simcoin's future in terms of Quantum computing being a potential future threat to crypto?

http://en.wikipedia.org/wiki/Supersingular_Isogeny_Key_Exchange
Quote
The Supersingular Isogeny Diffie–Hellman Key Exchange (SIDH) is a post-quantum public key cryptographic algorithm used to establish a secret key between two parties over an otherwise insecure communications channel. It was designed to resist cryptanalytic attack by an adversary in possession of a quantum computer. Because the SIDH has key sizes and computations similar to the widely supported Diffie–Hellman key exchange it is a natural candidate to replace Diffie-Hellman in the face of a growing quantum computer threat.

WARNING!!! Check your forum URLs carefully and avoid links to phishing sites like 'thebitcointalk' 'bitcointalk.to' and 'BitcointaLLk'
NxtChg (OP)
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000


Simcoin Developer


View Profile WWW
January 08, 2015, 09:44:29 AM
 #1369

Is any of this of relevance to Simcoin's future in terms of Quantum computing being a potential future threat to crypto?

http://en.wikipedia.org/wiki/Supersingular_Isogeny_Key_Exchange

I have enough things to worry about without quantum computers Grin

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 Offline

Activity: 840
Merit: 1000


Simcoin Developer


View Profile WWW
January 11, 2015, 11:01:17 AM
 #1370

Progress report

This week I was converting the client to use simcoin.dll core.

It was more time-consuming because the client was much more messy (the main reason that motivated me to move all the simcoin core functionality into a separate library).

Also because the client acts as a middle layer between the core and the Java Script code: since JS can't use commands/events directly, they needed to be wrapped in a set of API functions.

The conversion is not yet finished, there's still some more work left.

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
wizzardTim
Legendary
*
Offline Offline

Activity: 1708
Merit: 1000


Reality is stranger than fiction


View Profile
January 11, 2015, 12:40:42 PM
 #1371

Nice! Keep up the good work! Smiley

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

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

Activity: 840
Merit: 1000


Simcoin Developer


View Profile WWW
January 16, 2015, 04:00:54 PM
 #1372

CryptoPlay announcement: https://bitcointalk.org/index.php?topic=927003

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 Offline

Activity: 924
Merit: 1000



View Profile WWW
January 16, 2015, 05:00:59 PM
 #1373


Congrats. Smiley






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





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






mcjavar
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500


View Profile
January 16, 2015, 09:45:48 PM
 #1374

Could we have an updated roadmap for the development/release of Simcoin? Merci! Smiley
Tobo
Hero Member
*****
Offline Offline

Activity: 763
Merit: 500


View Profile
January 16, 2015, 09:51:50 PM
 #1375


Nice dividends! Thanks!
Mu_XuE
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
January 17, 2015, 04:42:49 AM
 #1376

 Wink ;DGood!
jokumat
Sr. Member
****
Offline Offline

Activity: 249
Merit: 250


View Profile
January 18, 2015, 08:47:25 AM
 #1377

I would like to know - the account password (in the exchange) is only 8 characters. Very short. This can be bruteforced easily, no? Is it safe? Is the account blocked after unsuccessful attempts or something like this?
NxtChg (OP)
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000


Simcoin Developer


View Profile WWW
January 18, 2015, 10:46:28 AM
 #1378

One way to reassure me personally...

And why would I bother?

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 Offline

Activity: 840
Merit: 1000


Simcoin Developer


View Profile WWW
January 18, 2015, 10:47:52 AM
 #1379

I would like to know - the account password (in the exchange) is only 8 characters. Very short. This can be bruteforced easily, no? Is it safe? Is the account blocked after unsuccessful attempts or something like this?

You think it's feasible to bruteforce a 8-character alphanumeric mixed case + digits password over the network?

Do the math.

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 Offline

Activity: 840
Merit: 1000


Simcoin Developer


View Profile WWW
January 18, 2015, 05:30:39 PM
Last edit: January 18, 2015, 05:50:34 PM by NxtChg
 #1380

Progress report

This week I took care of communication ID collisions. Since the ID is 4 bytes long there could be collisions as the number of users grow. For 4,000 users the chance is one in a million, but for 4 million, it's one in a thousand.

Previously I left this to be dealt with in the future versions, but since commands are now a documented interface, I had to think how to handle collisions and implement the solution.

By the way, I could have probably saved myself about a month of work if I didn't bother to encrypt packets, like all the other coins don't.

It's one of those tasks that seem relatively simple to a regular person ("You just need to call something like encrypt(packet) and that's it, right? How hard could that be?"), but prove to be much more complicated in reality. Because before you can call encrypt(), you need to get a key and this unfolds a whole chain of events and problems. I might tell you more about it one day Smiley

But anyway, I found more or less simple ways to deal with all the complexities, so now collisions are taken care of.

--

Spent some time adding automatic indentation to wiki sections. Some articles became quite large and difficult to read. So had to figure a way to do it.

--

I will post the new roadmap once the refactoring is complete, but in general I am at the stage where most of the things kinda work, but there's still a gazillion of small tasks to be done.
 
This is Simcoin right now:



You can see the whole building, but still need to lay thousands of small bricks to fill the walls.

And here's how software development works:



Most indie projects fail in the Q point, when the going gets tough. You see it all the time – a few young hotheads gather together and decide to do a super cool game and in a couple of weeks they post cool screenshots, which look almost like a complete game. And then it never goes anywhere beyond that point and project members get frustrated and quit.

Why? Precisely because of that graph. You work and work and nothing seems to happen and it feels like you're stuck and will never finish it.

Here are just some recently closed items from my to-do list:

+ Tasks::add(): protection against null pointers.
+ BUG FIXED: Incorrect check "!find()" for array when it returns 'int' instead of 'bool'.
+ BUG FIXED: Can't init TaskDesc before inserting! Otherwise it references itself by ID and it's not in array yet.
+ BUG FIXED: set 'done' to 'true' in Tasks constructor, otherwise init() will wait N seconds for the non-existent thread to finish
+ Set reason in sim.quit() and don't reset it for 'quit' command, so we could return errors this way.
+ Move socket and NetStats from Packet into T_Net.
+ Bruteforce ID collisions in Tasks::add(), otherwise every 16 M tasks there might be a problem...
+ Suicide tasks a bit differently. 'dead' array.
+ INI: Remove the variable if an empty string passed.
+ KVS walk functions. dump(). Bug fixes. Big endian keys, key size added for that.
+ "OK" reason to mark processed command.
+ Sending sim.quit() in on_exit handler.
+ 'level' parameter for sim.start_task.
+ Default level for tasks into task factory.
+ CmdLog: add indent.
+ BUG FIXED: outgoing() pass wasn't executed for orphaned commands, this could lead to wrong indent in CmdLog because incoming() wasn't paired.
+ Tasks::print()
+ BUG FIXED: 'quit' message must be sent only in one pass.
+ SimApi::out_raw_packet.
+ 'bool4' type for commands to make misalignment less probable.
+ 'is_node' into 'comm_key' command.
+ BUG FIXED: outgoing task no was 1 more than it should, because after the loop it's invalid. And also if you processed a command you shouldn't receive outgoing() call anyway.
+ BUG FIXED: outgoing must cycle till "i >= 0" instead of "i > 0". D'oh!
+ BUG FIXED: Tasks::add("") didn't set the level and it also didn't set it properly. 2-in-1 bug.
+ Client's data path from DLL path.
+ Rename 'hash' into 'hmac4' and use 4 bytes instead of 3. Update wiki.
+ Triage::get_peer() that will deal with comm_key event/adding internally.
+ KPS::next().
+ Change Triage to use next() to cycle through all keys and decode proper one.
+ Damn, 'account' and 'is_node' must be returned for each key!
+ operator == to Hash32. Store hmac in vault as Hash32 instead of byte[32]. Need to convert everywhere.
+ Hash32: added a bunch of functions to support "Hash32().add(prefix).add(msg,size).calc();" style of programming.
+ Hash32: zero buffer after stretch() to clear passwords.
+ Tasks::add(): don't add tasks if quitting.

And it goes on and on and on… Sad
The to-do text file is already 329 Kb in size!

There's no other way than to just grit your teeth and keep going...

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
Pages: « 1 ... 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!