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
#include <cstdio> | |
#include <boost/version.hpp> | |
int main() | |
{ | |
printf("Boost version: %d.%d.%d\n", BOOST_VERSION / 100000, | |
BOOST_VERSION / 100 % 1000, | |
BOOST_VERSION % 100); | |
return 0; | |
} |
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
[ | |
"enode://03f178d5d4511937933b50b7af683b467abaef8cfc5f7c2c9b271f61e228578ae192aaafc7f0d8035dfa994e734c2c2f72c229e383706be2f4fa43efbe9f94f4@163.172.149.200:30303", | |
"enode://31b5db1136a0ebceeb0ab6879e95dc66e8c52bcce9c8de50e2f722b5868f782aa0306b6b137b9e0c6271a419c5562a194d7f2abd78e22dcd1f55700dfc30c46a@35.165.17.127:30303", | |
"enode://3afdfd40713a8b188a94e4c7a9ddc61bc6ef176c3abbb13d1dd35eb367725b95329a7570039044dbffa49c50d4aa65f0a1f99ee68e46b8e2f09100d11d4fc85a@31.16.0.92:30303", | |
"enode://8fcd039bb514ccac1f207d9b23efbea79a1ba9ed559768109b9b3fc9f7f89cfc3a6cd3e11ec1d92a93bdbfe2322e43f3bb3d9519530e8b503c92294116c38c32@108.232.148.241:30303", | |
"enode://95176fe178be55d40aae49a5c11f21aa58968e13c681a6b1f571b2bb3e45927a7fb3888361bef85c0e28a52ea0e4afa17dcaa9d6c61baf504b3559f056f78581@163.172.145.241:30303", | |
"enode://a18cc2a6ad4b00cae57b77ef26276eaceffb2593a196df105ce06caa25300636369767430fa21f82b12ed431bca1f61742b8ec7e4db1a58f1b6421d280752b96@148.251.67.86:30303", | |
"enode://bfad505cbb2bde72e161a7cff044d66d20ce |
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
/// <reference types="node" /> | |
declare module "augur.js" { | |
type AbiEncodedData = string; | |
type Address = string; | |
type Bytes32 = string; | |
type Int256 = string; | |
interface AugurJsOptions { |
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
// ETHEREUM_HTTP=http://gethstar.com ETHEREUM_WS=ws://gethstar.com/ws node build/syncSpammer.js | |
import { existsSync, mkdirSync } from "fs"; | |
import { whilst } from "async"; | |
import Augur from "augur.js"; | |
import { NetworkConfiguration } from "augur-core"; | |
import { AugurNodeController } from "./controller"; | |
const networkName = process.argv[2] || "environment"; | |
const networkConfig = NetworkConfiguration.create(networkName); |
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
#!/usr/bin/env node | |
var async = require("async"); | |
var Augur = require("augur.js"); | |
var ethereumNode = { | |
http: "http://gethstar.com", | |
ws: "ws://gethstar.com/ws", | |
}; |
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
"select `marketId`, `payoutId`, `amountStaked` from (select `marketId`, `payoutId`, `amountStaked` from `crowdsourcers` where `completed` = 1 and `marketId` in ('0xd2b4906276b6ed334604f914306158c05a92e41f', '0x4e0ee58bf4230d3b799584e1a6027b4bda9fc4ed', '0xf4f35c7909d6496779c390abbe71b5fc6353614c', '0x71fe9c2ee36374a380347d205acea2ee5359325a', '0x4e64d886cb5f34c82293093d419c64ea95b8fc49', '0x14099805a1773bbaabcbe882e04a312ac7497fe2', '0x5e2130c995d105510467c2610893ab8464d3448d', '0xdd6eb36fd81a753911073ce3a33c244563540a53', '0x7736bb21ac0f676c7c2783af72913d4c5488da90', '0x62fd1c486b124404e863354ac6a32d348ee074b0', '0xb8478dba931b98fffa4fdb8ac833ba947637bb77', '0xa0c26f0e5d45800ed85279c37281b49934f3ecf8', '0x5d192f598ff29318013b3f269ae37590aa75b5f9', '0xde2ed6ac15b56e15addde6b77f3cc265a98fad54', '0x995fb857b906a4c11ffd6d7b24f1d3c826f14524', '0xc1d053b5c6053a9627eaa0b00974f3f04b4297da', '0xdecbd869eccac116193886c3f7fa4a150ffab681', '0xa9bd93f284678228e7aa8c86c6e955f3f266b3ec', '0xc34941db4fca60d23f7fec90112b8e01 |
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
jack@substrate:~/src/augur-app$ npm start | |
> augur@1.0.4 start /home/jack/src/augur-app | |
> electron-forge start .src/main/main.js | |
✔ Checking your system | |
✔ Locating Application | |
✔ Preparing native dependencies: 8 / 8 | |
✔ Launching Application | |
[22:33:05.942] [info] network name Mainnet |
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
> augur@1.0.1 start /home/jack/src/augur-app | |
> electron-forge start .src/main/main.js | |
✔ Checking your system | |
✔ Locating Application | |
✔ Preparing native dependencies: 8 / 8 | |
✔ Launching Application | |
[11:40:23.095] [info] Starting Augur UI Server | |
[11:40:23.104] [info] Looking for certificate files in /home/jack/.augur | |
[11:40:25.622] [info] network name Mainnet |
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
new block: 5935779 1531178481 | |
new block: 5935781 1531178504 | |
new block: 5935782 1531178512 | |
new block: 5935783 1531178517 | |
new block: 5935784 1531178521 | |
new block: 5935785 1531178537 | |
new block: 5935852 1531179688 | |
Finished batch load from 5926223 to 5936502 | |
Bulk sync with blockchain complete. | |
Starting websocket secure server on port 9002 |
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
connecting to augur-node: undefined | |
connecting to ethereum-node: {"http":"https://mainnet.infura.io/augur","ws":"wss://mainnet.infura.io/ws"} | |
websocket wss://mainnet.infura.io/ws opened | |
connected to ethereum | |
/home/jack/src/augur-node/augur-1.db | |
Getting Augur logs from block 5926223 to block 5936165 | |
got 462 logs in blocks { fromBlock: 5926223, toBlock: 5930404 } | |
websocket wss://mainnet.infura.io/ws closed: 1009 Maximum message size exceeded. | |
Disconnected from Ethereum node _Event { | |
type: 'close', |