~/talk

Using the JVM as a platform for smart contracts & cryptocurrency

Talkat Devoxx UK 2017 · 2017-05-11..05-12· [java, blockchain]
slides:none on file

Argues the JVM can host provably deterministic smart contracts by rejecting or rewriting unsafe bytecode at classload time, using a custom whitelist classloader and ASM to inspect and transform class files, banning threads, natives, System.currentTimeMillis, catches of ThreadDeath and syncing, and enforcing strictfp. Inserts runtime cost checks (allocation, jump and invocation thresholds) so misbehaving contracts are killed and rolled back. Demonstrates a one-thread-per-contract sandbox (a demo container called GreyMorin) that successfully loads deterministic classes and rejects nondeterministic ones for R3’s Corda.

AI-written summary · about

  1. 0:00Introduction to crypto
  2. 2:50Defining digital cash
  3. 6:36Bitcoin and trustlessness
  4. 8:28Smart contract challenges
  5. 11:33The JVM as a platform
  6. 15:59Determinism and the JVM
  7. 19:10Bytecode fundamentals
  8. 21:53Bytecode and security
  9. 26:35Object lifecycle
  10. 31:01Class loading mechanism
  11. 36:28Implementing custom loaders
  12. 39:43Deterministic execution
  13. 43:34Implementation and demo
  14. 50:55Q&A and conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.