This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==== ALARM ==== | |
Description: | |
- contracts can schedule future calls to themself, by specifying: | |
- block height | |
- gas | |
- msgdata | |
- scheduled calls are sorted by (gas, hash(account, msgdata)) # prevent DOS | |
and executed in this stable sorted order before any other tx | |
- on OOG: # includes no more existent account, balance |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def int_to_big_endian(integer): | |
'''convert a integer to big endian binary string''' | |
if integer == 0: | |
return '' | |
s = '%x' % integer | |
if len(s) & 1: | |
s = '0' + s | |
return s.decode('hex') | |
def big_endian_to_int(string): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.DS_Store | |
*.log | |
Gemfile.lock |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[buildout] | |
eggs-directory = /home/ralf/.buildout/cache/eggs | |
download-cache = /home/ralf/.buildout/cache/download | |
extends-cache = /home/ralf/.buildout/extends | |
index = http://pypi/simple/ |
NewerOlder