Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exodus deadline: 1377993600 #23

Open
dexX7 opened this issue Apr 13, 2014 · 0 comments
Open

Exodus deadline: 1377993600 #23

dexX7 opened this issue Apr 13, 2014 · 0 comments

Comments

@dexX7
Copy link
Contributor

dexX7 commented Apr 13, 2014

The Exodus deadline is actually 1377993600 (= Sun, 01 Sep 2013 00:00:00 GMT) and not 1377993874.

The deadline is defined in msc_utils_parsing.py.

Tests:

# txid: 502a936801823437ce1f886ff3955618bbd7f88e9863ddd182045a625028e9ed
exodus_bootstrap_deadline = 1377993600
value = 10000000
block_timestamp = 1377844770
tx_sec_before_deadline = exodus_bootstrap_deadline - block_timestamp
bonus=max((tx_sec_before_deadline+0.0)/(3600*24*7*10.0)*100,0)
dacoins=str('{:.0f}'.format(int(value)*(100+bonus)))
print dacoins
# Result:
#1024608135 (correct)
# txid: 502a936801823437ce1f886ff3955618bbd7f88e9863ddd182045a625028e9ed
exodus_bootstrap_deadline = 1377993874
value = 10000000
block_timestamp = 1377844770
tx_sec_before_deadline = exodus_bootstrap_deadline - block_timestamp
bonus=max((tx_sec_before_deadline+0.0)/(3600*24*7*10.0)*100,0)
dacoins=str('{:.0f}'.format(int(value)*(100+bonus)))
print dacoins
# Result:
#1024653439 (sligthly off!)

Tx:
https://masterchain.info/simplesend.html?tx=502a936801823437ce1f886ff3955618bbd7f88e9863ddd182045a625028e9ed&currency=MSC
https://masterchest.info/lookuptx.aspx?txid=502a936801823437ce1f886ff3955618bbd7f88e9863ddd182045a625028e9ed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant