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 debian:bullseye AS builder | |
RUN apt update | |
RUN apt-get install -y build-essential libtool autotools-dev automake pkg-config libssl-dev \ | |
libevent-dev bsdmainutils libgmp-dev cmake curl software-properties-common | |
# Install Berkeley DB 4.8 | |
RUN curl -L http://download.oracle.com/berkeley-db/db-4.8.30.tar.gz | tar -xz -C /tmp && \ | |
cd /tmp/db-4.8.30/build_unix && \ | |
../dist/configure --enable-cxx --includedir=/usr/include/bdb4.8 --libdir=/usr/lib && \ |
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
#!/bin/bash | |
# CONFIG SESSION | |
CHAIN_ID=band-laozi-mainnet | |
MONIKER=rest | |
# END | |
apt-get update | |
apt-get upgrade -y | |
apt-get install -y build-essential curl wget |
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
{ | |
"BTG": "bitcoin-gold", | |
"BZRX": "bzx-protocol", | |
"SRM": "serum", | |
"SNT": "status", | |
"SOL": "solana", | |
"CKB": "nervos-network", | |
"BNT": "bancor", | |
"CRV": "curve-dao-token", | |
"MANA": "decentraland", |
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 errors | |
import "fmt" | |
type ErrCode uint64 | |
const ( | |
IOError ErrCode = 0x00 | |
LogicError ErrCode = 0x01 | |
) |