I hereby claim:
- I am Emyrk on github.
- I am stevenmasley (https://keybase.io/stevenmasley) on keybase.
- I have a public key whose fingerprint is 93E2 6241 7FD0 01E9 BA4D 549B C0EC 97A0 821D 5946
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"flag" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"os" | |
"strings" |
package main | |
import ( | |
"fmt" | |
log "github.com/sirupsen/logrus" | |
) | |
func main() { | |
fmt.Println("============= Human Readable =============") |
import ( | |
"fmt" | |
"math/big" | |
) | |
// OraclePriceRecordAssetList is used such that the marshaling of the assets | |
// is in the same order, and we still can use map access in the code | |
// Key: Asset | |
// Value: Exchange rate to USD * 1e8 | |
type OraclePriceRecordAssetList map[string]uint64 |
The new release has a few hardforks: | |
- OPR version goes to v4. Includes additional assets | |
https://github.com/pegnet/pegnet/blob/larger_limit/modules/opr/assets.go#L76-L89 | |
- Ecdsa signatures for Pegnet transactions | |
Use branch `rcd-e` on `FactomProject/` + factom-walletd, factom, and factom-cli | |
- PEG Limit per block increases by 500 per block where pUSD is under $0.99, down by 500 when above $0.99 | |
Use branch `larger_limit` on pegnetd and pegnet | |
type delayedDB struct { | |
q queryer | |
delay time.Duration | |
} | |
func NewDelayDB(d time.Duration, q queryer) queryer { | |
return delayedDB{ | |
q: q, | |
delay: d, | |
} |
version: "3.5" | |
services: | |
coder: | |
image: docker.io/codercom/coder:1.29.1 | |
container_name: coderd | |
restart: unless-stopped | |
# network_mode: host | |
ports: | |
- 7080:7080/tcp | |
networks: |
package main | |
import ( | |
"bytes" | |
"encoding/json" | |
"fmt" | |
"math/rand" | |
"net/http" | |
"time" | |
) |
'use strict'; | |
const express = require('express'); | |
const fs = require('fs'); | |
const ws = require('ws'); | |
run().catch(err => console.log(err)); | |
async function run() { | |
const app = express(); |