11
Álvaro Polo Sebastián Ortega Coinffeine Technical Overview

Coinffeine in BetaBeers

Embed Size (px)

Citation preview

Álvaro Polo Sebastián Ortega

Coinffeine Technical Overview

The problem

Sujetos racionales

Architecture

GUI Headless

API

Core

Bitcoin client Protocol

Overlay API

Relay overlay

Payment API

OKPay client

Actor model

An extension to object orientation in which objects run concurrently and the

messages among them are asynchronous: every actor has a mailbox

and process its messages one-by-one.

Akka

Don’t drink too much Kool-Aid

Thin wrapper around JavaFX

100% reactive

Maturity issues

ScalaFX

CSS-like stylesheets

Event sourcingAkka persistence

2

3

Make your application logic fully transactional

Command-query separation

Persistent log of events to be replied in case of recovery

1

Bitcoin wallet library

Lightweight Bitcoin client: SPV vs full node

Pure-Java implementation you can harness from any

JVM language

Modeled after a wallet not a general application

Testing

Chaos messaging

OKPay mock

Domotic testnet

Cake pattern

Integrated tests

Shared ownership

Dev cultureCode reviews

vs pairing

Automation

Clean code

Common values

Domotic testnet

• Raspberry Pi

• Relay board

• ASIC miners

• Power units