ligo/vendors
Grégoire Henry 33c3d1fcbd Alpha/RPC: add a low-level but typed RPC for context introspection
Example:

```
> tezos-client rpc get /chains/main/blocks/head/context/raw/json/\?depth\=1 | jq
{
  "commitments": [],
  "contracts": {
    "global_counter": 0,
    "index": []
  },
  "cycle": [
    4,
    3,
    2,
    1,
    0
  ],
  "delegates": [
    "tz1gjaF81ZRRvdzjobyfVNsAeSC6PScjfQwN",
    "tz1faswCTDciRzE4oJ9jn2Vm2dvjeyA9fUzU",
    "tz1ddb9NMYHZi5UzPdzTZMYQQZoMub195zgv",
    "tz1b7tUupMgCNw2cCLpKTkSD1NZzB5TkP2sv",
    "tz1KqTpEZ7Yob7QbPE4Hy4Wo8fHG8LhKxZSx"
  ],
  "last_block_priority": 0,
  "rolls": {
    "index": [],
    "next": 2000,
    "owner": {}
  },
  "votes": {
    "ballots": [],
    "current_period_kind": "proposal",
    "current_quorum": 8000,
    "listings": [],
    "proposals": []
  }
}
> tezos-client rpc get /chains/main/blocks/head/context/raw/json/cycle/4\?depth\=2 | jq
{
  "last_roll": [
    [
      0,
      2000
    ]
  ],
  "nonces": [],
  "random_seed": "97d50852c159ada8e9f107e98f693b059ba28336c723e6cd0f6353eb3c0cb415",
  "roll_snapshot": 0
}
> tezos-client rpc get /chains/main/blocks/head/context/raw/json/cycle/5\?depth\=2 | jq
{
  "last_roll": [
    [
      1,
      2000
    ],
    [
      0,
      2000
    ]
  ],
  "nonces": [],
  "roll_snapshot": 2
}
```
2018-06-06 10:54:33 +02:00
..
irmin-leveldb Build: add -safe-string to more places 2017-12-12 11:42:18 +01:00
ocaml-bip39 Jbuilder: update to beta.19.1 2018-04-06 11:47:22 +02:00
ocaml-blake2 Vendors/blake2b: use bigstring 2018-04-19 10:21:01 +02:00
ocaml-hacl Opam: fix the hacl package 2018-06-06 10:49:48 +02:00
ocaml-pbkdf Jbuilder: update to beta.19.1 2018-04-06 11:47:22 +02:00
ocaml-secp256k1 Fix ocaml-secp256k1 Scalar.const 2018-06-06 10:00:37 +02:00
ocplib-json-typed Data_encoding: merge def and describe 2018-05-30 14:38:05 +02:00
ocplib-resto Alpha/RPC: add a low-level but typed RPC for context introspection 2018-06-06 10:54:33 +02:00