- Check block numbers before rolling back on sync
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
| [2018-07-26 22:22:22.753] [info] Stopping Augur UI Server | |
| [2018-07-27 09:31:21.021] [info] network name Mainnet | |
| [2018-07-27 09:31:24.686] [info] Starting Augur UI Server | |
| [2018-07-27 09:31:24.686] [info] Looking for certificate files in /Users/justin/Library/Application Support/augur | |
| [2018-07-27 09:31:27.874] [info] Found prior bulk-sync database: /Users/justin/Library/Application Support/augur/augur-1-2.db | |
| [2018-07-27 09:31:27.874] [info] /Users/justin/Library/Application Support/augur/augur-1-2.db | |
| [2018-07-27 09:31:27.959] [info] Sync with blockchain started. | |
| [2018-07-27 09:31:27.962] [info] Getting Augur logs from block 6037453 to block 6040189 | |
| [2018-07-27 09:31:42.911] [info] new block: 6037456, 1532668477 (Thu Jul 26 2018 22:14:37 GMT-0700 (PDT)) |
This file has been truncated, but you can view the full file.
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
| [ | |
| { | |
| "marketId": "0x5d192f598ff29318013b3f269ae37590aa75b5f9", | |
| "universe": "0xe991247b78f937d7b69cfc00f1a487a293557677", | |
| "marketType": "yesNo", | |
| "numOutcomes": 2, | |
| "minPrice": "0", | |
| "maxPrice": "1", | |
| "marketCreator": "0xaf71d0d1ec6304b83171f7d280b87276055dc77b", | |
| "creationBlockNumber": 5937093, |
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
| \\ Proposing this structure for getters and senders. | |
| export interface Pong { | |
| response: string; | |
| } | |
| export class Ping<TBigNumber> { | |
| public static PingParams = t.type({}); | |
| @Getter() |
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
| type SubscriptionKey = string; | |
| interface Connector { | |
| trackAccount(account:string); | |
| }; | |
| interface EventEmitter { | |
| emit(key, payload); | |
| subscribe():SubscriptionKey |
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 | |
| ((!$#)) && echo Issue number provided, command ignored! && exit 1; | |
| TITLE=$(hub issue show -f %t $1); | |
| ESCAPED_TITLE="GH-$1-${TITLE// /-}"; | |
| git checkout -b $ESCAPED_TITLE; |
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
| @startuml | |
| title Gnosis Safe UI flow | |
| (*) --> "Login" | |
| --> "Check for Safe Address with Registry Contract" | |
| --> "Address exists in registry?" | |
| If "" then | |
| --> [Yes] "Return safe address to UI" | |
| else | |
| --> [No] "Check localstorage for gnosis safe address" as a1 | |
| Endif |
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
| @startuml | |
| title Blockstream unreliable node workflow | |
| (*) --> "New Block" | |
| @enduml |
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
| (function showIndexedDbSize() { | |
| "use strict"; | |
| function openDatabases(...dbnames) { | |
| console.log('dbnames', dbnames); | |
| return Promise.all(dbnames.map(dbname => | |
| (new Promise(function(resolve, reject) { | |
| var request = window.indexedDB.open(dbname); | |
| request.onsuccess = function(event) { | |
| const db = event.target.result; | |
| resolve(db); |
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
| [ | |
| { | |
| "name": "MarketCreated", | |
| "universe": "0xaAC01B4aaA2EBD04A4790c85b76e1749d8Ef8e13", | |
| "endTime": 1351296004, | |
| "extraInfo": { | |
| "categories": [ | |
| "flash", | |
| "reasonable", | |
| "categorical" |