When designing software that deals with money, special consideration must be given to correctness and security. It is imperative that we build deterministic systems which don't lose data. We do this for two reasons: regulatory requirements and we simply don't know how to value it in the future. That is why event sourcing will be core to Braveno's design. Event sourcing is a very effective design approach to building highly available, deterministic
This file contains 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
From fd8d81e9cb44c80e445374bc825defd0d4d30f24 Mon Sep 17 00:00:00 2001 | |
From: Dimitris Apostolou <[email protected]> | |
Date: Thu, 1 Mar 2018 13:36:19 +0200 | |
Subject: [PATCH] Fix typos in various files | |
--- | |
contrib/epee/include/net/http_client.h | 2 +- | |
contrib/epee/include/net/levin_client_async.h | 2 +- | |
contrib/epee/tests/src/net/test_net.h | 2 +- | |
src/cryptonote_basic/miner.cpp | 2 +- |
This file contains 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
import org.zeromq.ZContext; | |
import org.zeromq.ZMQ; | |
import org.zeromq.ZMQ.Socket; | |
import zmq.io.mechanism.curve.Curve; | |
public class Security { | |
public static void main(String[] args) throws Exception { | |
Curve curve = new Curve(); | |
String[] serverKeys = curve.keypairZ85(); |
This file contains 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
public interface Callback { | |
void work(Object... args); | |
} | |
class Foobar implements Callback { | |
void work(Object... args) { | |
Object first = args[0]; | |
Object second = args[1]; | |
// do work | |
} |
This file contains 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
* What went wrong: | |
Execution failed for task ':install'. | |
> Could not publish configuration 'archives' | |
> org.codehaus.plexus.PlexusContainerException: Cycle detected in component graph in the system: |
This file contains 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
--- | |
ip: "192.168.10.10" | |
memory: 2048 | |
cpus: 1 | |
provider: virtualbox | |
authorize: ~/.ssh/id_rsa.pub | |
keys: | |
- ~/.ssh/id_rsa |
This file contains 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
-----BEGIN PGP MESSAGE----- | |
Version: GnuPG/MacGPG2 v2.0.22 (Darwin) | |
Comment: GPGTools - https://gpgtools.org | |
hQEMA9+8P1iiiALAAQf+N0N45Rf896XSq3pMokBCiTOHKNojFpbvGEg/53Kj4u55 | |
S9NQ6IvjLBe8gQRWjt9jHYBWouJky9pCnX3PzeoCCtpuTPP6QjfQejRR8UIJA7vG | |
mc74FJ584Riw7SbauTZYqYLJ/ZHxjDSrmHwm137HYuiZl8krpd0k9uqZImv5ReJT | |
SedlFMflbvrtE61nVHTD3621vysl8JPsb1rJiorbNpPFBj1RWdr8X9ihWCB6aiHF | |
LsZmcEgRlLKCo18OLHh62TFEhZFpASAw3rcv4ZqFlJ0rDGAm2bfAR0CqQ2crfVm7 | |
N3JJnThBMMZKkmTfpEFbVjurxO0g2XU1zxlno2/oQNJgAU32qMIZFQetm+yKzAZe |
This file contains 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
package io.txb.eventstore; | |
import static org.junit.Assert.assertTrue; | |
import org.junit.Test; | |
import rx.Observable; | |
import rx.Subscriber; | |
import rx.Subscription; |
This file contains 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
Verifying that +trevorbernard is my openname (Bitcoin username). https://onename.io/trevorbernard |
This file contains 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
package org.zeromq.zmq; | |
import static org.junit.Assert.assertTrue; | |
import java.util.Arrays; | |
import org.junit.Test; | |
import static org.zeromq.zmq.ZMQ.*; | |
public class PushPullTest { |