-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
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¤cy=MSC
https://masterchest.info/lookuptx.aspx?txid=502a936801823437ce1f886ff3955618bbd7f88e9863ddd182045a625028e9ed
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels