I hereby claim:
- I am holiman on github.
- I am holiman (https://keybase.io/holiman) on keybase.
- I have a public key whose fingerprint is CA99 ABB5 B36E 24AD 5DA0 FD40 683B 438C 05A5 DDF0
To claim this, I am signing this object:
contract DropBox{ | |
/* | |
Central Bank of Ethereum | |
A very minimalistic bank/dropbox where Ether can be sent. | |
This makes it simple for a service to pay recipients without directly | |
invoking any unknown (potentially hostile) contracts. | |
Instead, the value transfer becomes a 2-step handover, where the service | |
deposits to the bank, and the recipient cashes out later. |
I hereby claim:
To claim this, I am signing this object:
{"endblock":3649998,"ids":{"0x00000000":360,"0x005b9b48":3,"0x0121b93f":3,"0x02f2008d":2,"0x03496dae":1,"0x058aace1":8,"0x05f21815":1,"0x07946f50":2,"0x07da68f5":1,"0x07daf2df":3,"0x084da883":1,"0x095ea7b3":312,"0x0a19b14a":346,"0x0d381cad":2,"0x0d59b564":1,"0x0f2c9329":3757,"0x0fb59f95":6,"0x114d081d":4,"0x11610c25":1,"0x11a125ce":4,"0x144fa6d7":2,"0x148105ab":4,"0x154652c8":3,"0x15891148":168,"0x173825d9":2,"0x17be89f0":1,"0x186f161b":11,"0x18cf4469":1,"0x19b667da":1,"0x19c12795":3,"0x1a695230":268,"0x1bbfb029":31,"0x1e9a6950":23,"0x1f21cebb":1,"0x2016890c":1,"0x20987e64":10,"0x20ba018a":1,"0x213ac932":58,"0x219f037a":3,"0x23b872dd":317,"0x257bcd6a":490,"0x25fda176":6,"0x266710ca":1,"0x269673af":1,"0x26cfd794":1,"0x278b8c0e":104,"0x27dc297e":5,"0x29b5b30c":22,"0x29cbdc86":1,"0x29ff4f53":1,"0x2bffc7ed":2,"0x2d580ef6":10,"0x2e1a7d4d":120,"0x2e92abdd":4,"0x2eaed480":1,"0x2ebec916":1,"0x2f54bf6e":1,"0x303017bd":1,"0x30301aa0":1,"0x303029ef":1,"0x30302bee":1,"0x30303614":1,"0x30303a3d":1,"0x30303c6a":1,"0x30303c |
{"endblock":3649998,"ids":{"0x00000000":360,"0x005b9b48":3,"0x0121b93f":3,"0x02f2008d":2,"0x03496dae":1,"0x058aace1":8,"0x05f21815":1,"0x07946f50":2,"0x07da68f5":1,"0x07daf2df":3,"0x084da883":1,"0x095ea7b3":312,"0x0a19b14a":346,"0x0d381cad":2,"0x0d59b564":1,"0x0f2c9329":3757,"0x0fb59f95":6,"0x114d081d":4,"0x11610c25":1,"0x11a125ce":4,"0x144fa6d7":2,"0x148105ab":4,"0x154652c8":3,"0x15891148":168,"0x173825d9":2,"0x17be89f0":1,"0x186f161b":11,"0x18cf4469":1,"0x19b667da":1,"0x19c12795":3,"0x1a695230":268,"0x1bbfb029":31,"0x1e9a6950":23,"0x1f21cebb":1,"0x2016890c":1,"0x20987e64":10,"0x20ba018a":1,"0x213ac932":58,"0x219f037a":3,"0x23b872dd":317,"0x257bcd6a":490,"0x25fda176":6,"0x266710ca":1,"0x269673af":1,"0x26cfd794":1,"0x278b8c0e":104,"0x27dc297e":5,"0x29b5b30c":22,"0x29cbdc86":1,"0x29ff4f53":1,"0x2bffc7ed":2,"0x2d580ef6":10,"0x2e1a7d4d":120,"0x2e92abdd":4,"0x2eaed480":1,"0x2ebec916":1,"0x2f54bf6e":1,"0x303017bd":1,"0x30301aa0":1,"0x303029ef":1,"0x30302bee":1,"0x30303614":1,"0x30303a3d":1,"0x30303c6a":1,"0x30303c |
{"endblock":3649998,"ids":{"0x00000000":360,"0x005b9b48":3,"0x0121b93f":3,"0x02f2008d":2,"0x03496dae":1,"0x058aace1":8,"0x05f21815":1,"0x07946f50":2,"0x07da68f5":1,"0x07daf2df":3,"0x084da883":1,"0x095ea7b3":312,"0x0a19b14a":346,"0x0d381cad":2,"0x0d59b564":1,"0x0f2c9329":3757,"0x0fb59f95":6,"0x114d081d":4,"0x11610c25":1,"0x11a125ce":4,"0x144fa6d7":2,"0x148105ab":4,"0x154652c8":3,"0x15891148":168,"0x173825d9":2,"0x17be89f0":1,"0x186f161b":11,"0x18cf4469":1,"0x19b667da":1,"0x19c12795":3,"0x1a695230":268,"0x1bbfb029":31,"0x1e9a6950":23,"0x1f21cebb":1,"0x2016890c":1,"0x20987e64":10,"0x20ba018a":1,"0x213ac932":58,"0x219f037a":3,"0x23b872dd":317,"0x257bcd6a":490,"0x25fda176":6,"0x266710ca":1,"0x269673af":1,"0x26cfd794":1,"0x278b8c0e":104,"0x27dc297e":5,"0x29b5b30c":22,"0x29cbdc86":1,"0x29ff4f53":1,"0x2bffc7ed":2,"0x2d580ef6":10,"0x2e1a7d4d":120,"0x2e92abdd":4,"0x2eaed480":1,"0x2ebec916":1,"0x2f54bf6e":1,"0x303017bd":1,"0x30301aa0":1,"0x303029ef":1,"0x30302bee":1,"0x30303614":1,"0x30303a3d":1,"0x30303c6a":1,"0x30303c |
{"endblock":3649998,"ids":{"0x00000000":360,"0x005b9b48":3,"0x0121b93f":3,"0x02f2008d":2,"0x03496dae":1,"0x058aace1":8,"0x05f21815":1,"0x07946f50":2,"0x07da68f5":1,"0x07daf2df":3,"0x084da883":1,"0x095ea7b3":312,"0x0a19b14a":346,"0x0d381cad":2,"0x0d59b564":1,"0x0f2c9329":3757,"0x0fb59f95":6,"0x114d081d":4,"0x11610c25":1,"0x11a125ce":4,"0x144fa6d7":2,"0x148105ab":4,"0x154652c8":3,"0x15891148":168,"0x173825d9":2,"0x17be89f0":1,"0x186f161b":11,"0x18cf4469":1,"0x19b667da":1,"0x19c12795":3,"0x1a695230":268,"0x1bbfb029":31,"0x1e9a6950":23,"0x1f21cebb":1,"0x2016890c":1,"0x20987e64":10,"0x20ba018a":1,"0x213ac932":58,"0x219f037a":3,"0x23b872dd":317,"0x257bcd6a":490,"0x25fda176":6,"0x266710ca":1,"0x269673af":1,"0x26cfd794":1,"0x278b8c0e":104,"0x27dc297e":5,"0x29b5b30c":22,"0x29cbdc86":1,"0x29ff4f53":1,"0x2bffc7ed":2,"0x2d580ef6":10,"0x2e1a7d4d":120,"0x2e92abdd":4,"0x2eaed480":1,"0x2ebec916":1,"0x2f54bf6e":1,"0x303017bd":1,"0x30301aa0":1,"0x303029ef":1,"0x30302bee":1,"0x30303614":1,"0x30303a3d":1,"0x30303c6a":1,"0x30303c |
The values above, but translated into a table
Name Gascost Time (ns) MGas/S Gasprice for 10MGas/S Gas/Ideal percent
----------------------------------------- --------- ---------------- ----------- ----------------------- -------------------
PrecompiledEcrecover/ 3000 171600 17.4825 1716 174.8 %
PrecompiledSha256/128 108 675 160 6.75 1600.0 %
PrecompiledRipeMD/128 1080 2336 462.329 23.36 4623.3 %
PrecompiledIdentity/128 27 18.8 1436.17 0.188 14361.7 %
PrecompiledModExp/eip_example1 2611 140894 18.5317 1408.94 185.3 %
PREIMAGES map[] | |
{ | |
"root": "d7f8974fb5ac78d9ac099b9ad5018bedc2ce0a72dad1827a1709da30580f0544", | |
"accounts": { | |
"000d836201318ec6899a67540690382780743280": { | |
"balance": "200000000000000000000", | |
"nonce": 0, | |
"root": "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", | |
"codeHash": "c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", | |
"code": "", |
Not listing calls made fewer than 5
times
1177020 0xa9059cbb-64 47.53% (47.53% aggregate)
107508 0xef343588-576 4.34% (51.88% aggregate)
66946 0x23b872dd-96 2.70% (54.58% aggregate)
46585 0x095ea7b3-64 1.88% (56.46% aggregate)
39975 0x70a08231-32 1.61% (58.07% aggregate)
34695 0x2295115b-256 1.40% (59.48% aggregate)
This blog post by Jonathan Brown suggested replacing SMTP with Ethereum blockchain; specifically, utilizing the log channel to monitor events.
With this approach, emails wouldn't actually be stored within the EVM (Ethereum Virtual Machine) storage, but every email would still be present in the blockchain blocks. The EVM log mechanism would make it simple for a full node to monitor and be alerted whenever an email was submitted.
I don't believe that this would be feasible in the real world, for several reasons