Following instructions from the excellent https://www.rinkeby.io/
A full node lets you access all state. There is a light node (state-on-demand) and wallet-only (no state) instructions as well,
| // Run at https://play.golang.org/p/gYCGtWOHGci | |
| package main | |
| import ( | |
| "fmt" | |
| ) | |
| // Define an interface | |
| type Foo interface { |
Following instructions from the excellent https://www.rinkeby.io/
A full node lets you access all state. There is a light node (state-on-demand) and wallet-only (no state) instructions as well,
| 0x95BcA9Cf2C4984978D658bDc1aA22cf447Cdb33f |
| main :: IO () | |
| main = scotty 8080 $ do | |
| get "/hello" $ do | |
| let content = "Hello world!" | |
| respondTo $ do | |
| formatJson $ | |
| json $ object ["content" .= content] | |
| formatText $ | |
| text content | |
| format "application/vnd.chess-pgn" $ do |
| require 'json' | |
| require 'open-uri' | |
| class AirbrakeFetcher | |
| BASE_URL = 'https://airbrake.io' | |
| DEFAULT_LIMIT = 100 | |
| def initialize(api_key, project_id) | |
| @api_key = api_key | |
| @project_id = project_id |
To generate a heap profile from your program:
-h for a basic producer
profile). This generates the file prog.hp.hp2ps to produce a Postscript file, prog.ps.| Hello World!Foo | |
| Bar |
You wake up in the middle of a forest.
There's a passage through the vegetation.