We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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:
Tx:
https://masterchain.info/simplesend.html?tx=502a936801823437ce1f886ff3955618bbd7f88e9863ddd182045a625028e9ed¤cy=MSC
https://masterchest.info/lookuptx.aspx?txid=502a936801823437ce1f886ff3955618bbd7f88e9863ddd182045a625028e9ed
The text was updated successfully, but these errors were encountered: