d5000
Legendary
Offline
Activity: 4130
Merit: 7745
Decentralization Maximalist
|
|
July 31, 2017, 01:47:21 AM |
|
Thanks @dzarmush! I think your updated image is better than the old one, so I have changed it - and I also corrected the typo you mentioned.
About Simcoin: I didn't really follow it, but I think I remember it was an idea based loosely on NXT which was never released.
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
July 31, 2017, 09:06:47 AM |
|
In an occasional series: “gjhiggins”, self-portait G.J.Higgins '17 Cheers Graham
|
|
|
|
dzarmush
Legendary
Offline
Activity: 1806
Merit: 1001
|
|
July 31, 2017, 09:14:07 AM |
|
Thanks @dzarmush! I think your updated image is better than the old one, so I have changed it - and I also corrected the typo you mentioned.
Cool. Could you please change it again ) I looked at it today and improved a bit. Also reduced size and optimized for web. https://i.imgur.com/ISeCSMF.jpg
|
|
|
|
dzarmush
Legendary
Offline
Activity: 1806
Merit: 1001
|
|
July 31, 2017, 10:31:27 AM |
|
In an occasional series: “gjhiggins”, self-portait G.J.Higgins '17 Cheers Graham That's hell of a lot of commits
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
July 31, 2017, 12:09:02 PM Last edit: July 31, 2017, 12:22:41 PM by gjhiggins |
|
Later I will try if I can do a SPARQL query for the exact number.
I'm working on some instrumentation via SPARQL queries. The first out of the starting gate is daily emissions, a reasonably straightforward figure to obtain, all that's needed is the height of the next block minted after a given midnight. Preliminary results, which are probably also exposing gaps in the mapping to RDF, I haven't yet had time to create a cross-referencing function which will identify any gaps but that's the next task. Also, it seems I've inadvertently swapped the axis labels. The data has been committed to the docs subdirectory of the master branch in ODS spreadsheet format https://github.com/slimcoin-project/Slimcoin/blob/master/doc/emissions.ods(Oh, BTW, ditto for an editable version of the Slimcoin white paper in ODT: https://github.com/slimcoin-project/Slimcoin/blob/master/doc/slimcoin-white-paper.odt) I use the Python script included below to generate and pose the SPARQL queries of Fuseki, persisting the results in comma-separated format: def test_get_emissions(self): # unittests already imported import json import requests import datetime
# switch endpoint testnet = True
# template SPARQL query returning the block height of the next minted # block after {timestamp} querytmpl = \ '''?query=PREFIX+ccy%3A+%3Chttp%3A%2F%2Fpurl.org%2Fnet%2F''' \ '''bel-epa%2Fccy%23%3E%0ASELECT+%3Fheight+%3Fdt%0AWHERE+%''' \ '''7B%0A++%3Fblock+ccy%3Aheight+%3Fheight+.%0A++%3Fblock+''' \ '''ccy%3Atime+%3Fdt.+%0A++FILTER(%3Fdt+%3C+{timestamp})%0''' \ '''A%7D%0AORDER+BY+DESC(%3Fdt)+LIMIT+1'''
url = '''http://localhost:3030/{}/sparql'''.format( 'slmtchain' if testnet else 'slmchain')
# Initialise the starting date ptr = psz = datetime.date(year=2017, month=4, day=15) if testnet \ else datetime.date(year=2014, month=5, day=28)
# Create a day incrementer nextday = datetime.timedelta(days=1)
# Save results in comma-separated format with open('/tmp/{}-emissions.csv'.format( 'testnet' if testnet else 'mainnet'), 'w') as fp:
# create day range to drive iteration for day in range(0, (datetime.date.today() - psz).days):
# Blurt progress if day % 100 == 0: print(day)
# Increment the date pointer by one day ptr += nextday
# Create timestamp from date pointer ts = int(datetime.datetime.strptime( '{}-{}-{}T00:00:00.000Z'.format( ptr.year, ptr.month, ptr.day), '%Y-%m-%dT%H:%M:%S.%fZ').timestamp())
# Execute the SPARQL query res = requests.get(url + querytmpl.format( timestamp=ts) ).content.decode('utf-8')
# Marshal and persist the results for the given day resd = json.loads(res) height = resd['results']['bindings'][0]['height']['value'] bdate = resd['results']['bindings'][0]['dt']['value'] datum = '''"{t}",{h},{d}\n'''.format(t=ptr, h=height, d=bdate) fp.write(datum) fp.close()
When rapid prototyping, I habitually work in a test environment (I *know* that's not what is meant by TDD) because I appreciate a controlled, standard environment which, not entirely co-incidentally, allows me just to hit ^B in Sublime text to run the test and see the output in the results buffer. Note, results are written to '/tmp/<filename>', just a serving suggestion. Cheers Graham
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
July 31, 2017, 12:35:56 PM |
|
In an occasional series: “gjhiggins”, self-portait G.J.Higgins '17
That's hell of a lot of commits It does sort of mount up, doesn't it? I was disappointed in Github's limited state preservation. I find all those serried images of myself looking back at me a bit surreal, like some sort of forensically-dissected kinematoscope filmstrip. I wanted to change the avatar for specific commits, so that I could write a script that extracted the mugshots and then rendered a them as sequence of movie frames, thus animating the facial expressions and providing a meta-commentary on the development process. But no, all I get is a single reference to the contemporary avatar. That's the trouble with online spaces, there aren't any side and rear walls to paint on, sigh. Cheers Graham
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
July 31, 2017, 01:42:42 PM |
|
probably also exposing gaps in the mapping to RDF
I was *very* suspicious of the sequence in which apparently 0 blocks were minted --- but that's what the blockchain says: If you navigate to ACME and use /main/blk/list/15940 as the path, it's quite clear that the blockchain was stopped between June 15th 2014 (15935) and June 21st 2014 (15937) with the single block 15936 output on June 20th. I wonder if the other apparent extreme values are actually accurate? Cheers Graham
|
|
|
|
d5000
Legendary
Offline
Activity: 4130
Merit: 7745
Decentralization Maximalist
|
|
July 31, 2017, 09:48:57 PM Last edit: July 31, 2017, 10:20:56 PM by d5000 |
|
If you navigate to ACME and use /main/blk/list/15940 as the path, it's quite clear that the blockchain was stopped between June 15th 2014 (15935) and June 21st 2014 (15937) with the single block 15936 output on June 20th.
Yep, that is the event I mentioned earlier. A couple of days after Slimcoin's start in 2014 there were massive problems with forks, so the developer adjusted some parameters while the miners agreed to stop the blockchain. My guess for the late-2016 low block emission values is that there were few people mining, and occasionally nobody ( see this screenshot from bchain.info)- that was the time when SLM was "closest to death" as it was delisted from all exchanges. But very probably Proof of Burn and Proof of Stake minters "saved" it. @dzarmush: Have updated it, thanks again! I had forgot to check the size of your earlier image (to further compress it if size was too high), you're right that with >500 kB it was a bit large for a web page.
|
|
|
|
muf18
|
|
July 31, 2017, 09:59:42 PM |
|
I encourage to make more conversations on telegram channel, because for now I'm only posting there . Tho we have 9 members now - for a month of existence it's not bad, but not so much :p.
|
|
|
|
dzarmush
Legendary
Offline
Activity: 1806
Merit: 1001
|
|
July 31, 2017, 10:29:41 PM |
|
I encourage to make more conversations on telegram channel, because for now I'm only posting there . Tho we have 9 members now - for a month of existence it's not bad, but not so much :p. why telegram? ) let's keep this thread up all the time and raise awareness
|
|
|
|
drbarber
Member
Offline
Activity: 81
Merit: 10
|
|
July 31, 2017, 11:41:28 PM |
|
Not sure what I'm doing wrong beside using OSX but I don't seem to get anything from mining or staking or burning and it's been more than a week of being in sync and left on and open (and kept reserve balance at 0).
Any idea how I can find out what's going on with it?
|
|
|
|
dzarmush
Legendary
Offline
Activity: 1806
Merit: 1001
|
|
August 01, 2017, 01:16:44 AM |
|
Not sure what I'm doing wrong beside using OSX but I don't seem to get anything from mining or staking or burning and it's been more than a week of being in sync and left on and open (and kept reserve balance at 0).
Any idea how I can find out what's going on with it?
What version do you use? I've got 0.5, works fine. I didn't try burning but staking works.
|
|
|
|
drbarber
Member
Offline
Activity: 81
Merit: 10
|
|
August 01, 2017, 06:47:07 AM |
|
Not sure what I'm doing wrong beside using OSX but I don't seem to get anything from mining or staking or burning and it's been more than a week of being in sync and left on and open (and kept reserve balance at 0).
Any idea how I can find out what's going on with it?
What version do you use? I've got 0.5, works fine. I didn't try burning but staking works. Think I'm using 0.5 SLMv0.5.0-3-g43621dd-dirty-alpha
|
|
|
|
dzarmush
Legendary
Offline
Activity: 1806
Merit: 1001
|
|
August 01, 2017, 10:17:06 AM |
|
Not sure what I'm doing wrong beside using OSX but I don't seem to get anything from mining or staking or burning and it's been more than a week of being in sync and left on and open (and kept reserve balance at 0).
Any idea how I can find out what's going on with it?
What version do you use? I've got 0.5, works fine. I didn't try burning but staking works. Think I'm using 0.5 SLMv0.5.0-3-g43621dd-dirty-alpha Yeah, same as mine. I didn't do anything special, just set reserved balance to zero and it started staking. In the first hours I already got some coins.
|
|
|
|
muf18
|
|
August 01, 2017, 03:04:24 PM |
|
I think I can contact new crypto exchange, in my country to list our coin and I think they will even do it for free or small fee like 0.001BTC, because they are new, but seems quite ambitious now they have 10 cryptos with 3 fiat currencies: PLN, EUR, USD. Do you want it? Exchange name is beatcoin.pl
|
|
|
|
drbarber
Member
Offline
Activity: 81
Merit: 10
|
|
August 01, 2017, 04:46:29 PM |
|
Not sure what I'm doing wrong beside using OSX but I don't seem to get anything from mining or staking or burning and it's been more than a week of being in sync and left on and open (and kept reserve balance at 0).
Any idea how I can find out what's going on with it?
What version do you use? I've got 0.5, works fine. I didn't try burning but staking works. Think I'm using 0.5 SLMv0.5.0-3-g43621dd-dirty-alpha Yeah, same as mine. I didn't do anything special, just set reserved balance to zero and it started staking. In the first hours I already got some coins. goddd not idea what Im doing wrong, been staking for long time and I get nothing.... Should I dl a new wallet or something?
|
|
|
|
gavrilo77
|
|
August 01, 2017, 04:57:57 PM |
|
Not sure what I'm doing wrong beside using OSX but I don't seem to get anything from mining or staking or burning and it's been more than a week of being in sync and left on and open (and kept reserve balance at 0).
Any idea how I can find out what's going on with it?
What version do you use? I've got 0.5, works fine. I didn't try burning but staking works. Think I'm using 0.5 SLMv0.5.0-3-g43621dd-dirty-alpha Yeah, same as mine. I didn't do anything special, just set reserved balance to zero and it started staking. In the first hours I already got some coins. goddd not idea what Im doing wrong, been staking for long time and I get nothing.... Should I dl a new wallet or something? When i want to stake i put in console: reservebalance true 1
|
|
|
|
dzarmush
Legendary
Offline
Activity: 1806
Merit: 1001
|
|
August 01, 2017, 05:11:47 PM |
|
I think I can contact new crypto exchange, in my country to list our coin and I think they will even do it for free or small fee like 0.001BTC, because they are new, but seems quite ambitious now they have 10 cryptos with 3 fiat currencies: PLN, EUR, USD. Do you want it? Exchange name is beatcoin.pl
Looks pretty neat. I think it'd great.
|
|
|
|
muf18
|
|
August 01, 2017, 06:08:07 PM |
|
Ok, so I asked them (because asking isn't deciding and I thought it will be a good way to see 'requirements', still community - please say if you would go for it)- they said they if we helped them introducing it and make some offers (I think they thought about some market maker), they will take it without charges.
|
|
|
|
drbarber
Member
Offline
Activity: 81
Merit: 10
|
|
August 01, 2017, 07:30:30 PM |
|
Not sure what I'm doing wrong beside using OSX but I don't seem to get anything from mining or staking or burning and it's been more than a week of being in sync and left on and open (and kept reserve balance at 0).
Any idea how I can find out what's going on with it?
What version do you use? I've got 0.5, works fine. I didn't try burning but staking works. Think I'm using 0.5 SLMv0.5.0-3-g43621dd-dirty-alpha Yeah, same as mine. I didn't do anything special, just set reserved balance to zero and it started staking. In the first hours I already got some coins. goddd not idea what Im doing wrong, been staking for long time and I get nothing.... Should I dl a new wallet or something? When i want to stake i put in console: reservebalance true 1 Tried that as well... Starting to think it's an issue with the wallet config for OSX. The only errors I get is that I cannot connect to some nodes but still have 5 connections anyway. If no one can offer any solution I think I'll download the wallet again and see if it works, if not then I'll assume it doesn't work for OSX lol...
|
|
|
|
|