This file contains hidden or 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 ubuntu:18.04 | |
ARG release=latest | |
ARG eosbranch=v1.6.4 | |
ARG eoscdtbranch=v1.6.1 | |
ARG token=EOS | |
ENV OPENSSL_ROOT_DIR /usr/include/openssl | |
RUN apt-get update -y \ |
This file contains hidden or 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
#pragma once | |
#include <eosiolib/eosio.hpp> | |
#include <eosiolib/transaction.hpp> | |
namespace nebula | |
{ | |
using eosio::name; | |
using std::string; |
This file contains hidden or 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
/** | |
* @file | |
* @copyright defined in eos/LICENSE.txt | |
*/ | |
#include <nebula.stress/nebula.stress.hpp> | |
namespace nebula { | |
void stress::defer(uint32_t amount) { |
This file contains hidden or 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
git clone https://github.com/NebulaProtocol/eos.git --recursive | |
cd eos | |
git checkout sql_plugin | |
git submodule update --init --recursive | |
apt-get update | |
apt-get install mysql-server libsoci-dev | |
./eosio_build.sh -s EOS | |
cd build | |
make install |
This file contains hidden or 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
producer | version | cant | |
---|---|---|---|
eosio | 0 | 12149 | |
genesisblock | 1 | 727301 | |
eosliquideos | 2 | 2184 | |
eoscanadacom | 2 | 2564 | |
eosdacserver | 2 | 2569 | |
eoshuobipool | 2 | 2604 | |
eosriobrazil | 2 | 2604 | |
eosiomeetone | 2 | 2604 | |
eosstorebest | 2 | 2604 |
This file contains hidden or 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
{ | |
"initial_timestamp": "2018-06-08T08:08:08.888", | |
"initial_key": "EOS7EarnUhcyYqmdnPon8rm7mBCTnBoot6o7fE2WzjvEX2TdggbL3", | |
"initial_configuration": { | |
"max_block_net_usage": 1048576, | |
"target_block_net_usage_pct": 1000, | |
"max_transaction_net_usage": 524288, | |
"base_per_transaction_net_usage": 12, | |
"net_usage_leeway": 500, | |
"context_free_discount_net_usage_num": 20, |
This file contains hidden or 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
{ | |
"4": "Afghanistan", | |
"8": "Albania", | |
"10": "Antarctica", | |
"12": "Algeria", | |
"16": "American Samoa", | |
"20": "Andorra", | |
"24": "Angola", | |
"28": "Antigua and Barbuda", | |
"31": "Azerbaijan", |
This file contains hidden or 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
// data-dir/config.ini | |
get-transactions-time-limit = 3 | |
block-log-dir = "blocks" | |
max-reversible-block-time = -1 | |
max-pending-transaction-time = -1 | |
faucet-create-interval-ms = 1000 | |
faucet-name = faucet | |
faucet-private-key = ["EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV","5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3"] | |
http-server-address = 127.0.0.1:8888 |
This file contains hidden or 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 | |
sudo fallocate -l 2G /swapfile | |
sudo chmod 600 /swapfile | |
sudo mkswap /swapfile | |
sudo swapon /swapfile | |
sudo sysctl vm.swappiness=10 | |
sudo sysctl vm.vfs_cache_pressure=50 | |
git clone https://github.com/eosio/eos --recursive | |
cd eos | |
# git checkout dawn-2.x |
This file contains hidden or 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
// Api.swift | |
Api().getFeedItems { (FeedItems) -> () in | |
// do something with [FeedItem] | |
} | |
// inside of getFeedItems | |
FeedItem = FeedItemFactory.FeedItemFromJSON(feedItemJSON) |
NewerOlder