start new:
tmux
start new with session name:
tmux new -s myname
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"github.com/gorilla/sessions" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"net/url" |
#!/usr/bin/env python | |
import asyncio | |
import websockets | |
import binascii | |
import ujson as json | |
method_map = { | |
'6d01': 'Set Name', | |
'6d02': 'Post Memo', |
#!/bin/sh | |
# linux firewall/forwarding | |
modprobe iptable_nat | |
echo 1 | tee /proc/sys/net/ipv4/ip_forward | |
iptables -t nat -A POSTROUTING -s 10.10.10.1/2 -o eth0 -j MASQUERADE | |
# install openvpn | |
apt-get update && apt-get install -y openvpn | |
cd /etc/openvpn/ | |
INSTANCE=$(curl http://169.254.169.254/latest/meta-data/public-hostname) | |
openvpn --genkey --secret ${INSTANCE}.key |
diff --git a/src/alert.cpp b/src/alert.cpp | |
index aa7ac748da..1c679e9fda 100644 | |
--- a/src/alert.cpp | |
+++ b/src/alert.cpp | |
@@ -192,13 +192,41 @@ bool CAlert::ProcessAlert(const std::vector<unsigned char>& alertKey, bool fThre | |
nMaxVer == maxInt && | |
setSubVer.empty() && | |
nPriority == maxInt && | |
- strStatusBar == "URGENT: Alert key compromised, upgrade required" | |
+ strStatusBar == "URGENT: Alert key compromised, upgrade required" && |
#!/bin/bash | |
go test -c | |
PKG=$(basename $(pwd)) | |
set -e | |
while true ; do | |
export GOMAXPROCS=$[ 1 + $[ RANDOM % 128 ]] | |
./$PKG.test $@ 2>&1 | |
done |
Here are the transaction IDs (and links to the block explorers) for the first livenet Ethereum and Ripple Consensus Ledger (RCL) escrowed transfers comprising an Interledger payment.
0x00cbb6149b9cfb3cedf280251c3060b2a38776fa7792b578b6f9f39ce5ee0266
7F0A5F16C84568D96DA6A66058CD9EAA881236237642BF7427A458957A752B6B
12A4CAFAE95254844513C5C11488A1195C08DEFF673C97AC74AAC121935DDE36
0xb59dd839ab0b5e7d4e663b7cfc0ddb70eaf73dd2785b3d3a4abdf1a61817007d
SHA-256 Condition: `d2
Dr. Mark B Lundeberg, 2018 Feb 15
bitcoincash:qqy9myvyt7qffgye5a2mn2vn8ry95qm6asy40ptgx2
This security advisory notes a vulnerability in the common construction of cross-chain smart contracts (contracts between distinct cryptocurrencies) through hash locking. I focus on the primary use case in [atomic
This has moved to https://github.com/bitcoin/bitcoin/blob/master/doc/reduce-memory.md