lbrycrd/qa/rpc-tests/test_framework
Rusty Russell 85c807c9ea getblockchaininfo: make bip9_softforks an object, not an array.
We can't change "softforks", but it seems far more logical to use tags
in an object rather than using an "id" field in an array.

For example, to get the csv status before, you need to iterate the
array to find the entry with 'id' field equal to "csv":

   jq '.bip9_softforks | map(select(.id == "csv"))[] | .status'

Now:
   jq '.bip9_softforks.csv.status'

There is no issue with fork names being incompatible with JSON tags,
since we're selecting them ourselves.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2016-04-13 16:53:52 +09:30
..
__init__.py [QA] restructure rpc tests directory 2015-05-18 15:25:45 +02:00
authproxy.py test_framework: Py3.4 compat: Specify timeout parameter by name 2016-03-28 12:30:48 +02:00
bignum.py [QA] restructure rpc tests directory 2015-05-18 15:25:45 +02:00
blockstore.py [qa] Use python2/3 syntax 2016-03-31 18:35:17 +02:00
blocktools.py [qa] rpc-tests: Properly use integers, floats 2016-04-01 21:23:30 +02:00
comptool.py [qa] Use python2/3 syntax 2016-03-31 18:35:17 +02:00
coverage.py Add missing copyright headers 2016-01-05 21:34:15 +01:00
key.py Add p2p-fullblocktest.py 2015-08-21 15:31:37 -04:00
mininode.py [qa] mininode: Combine struct.pack format strings 2016-04-02 11:48:07 +02:00
netutil.py Merge #7778: [qa] Bug fixes and refactor 2016-04-03 15:54:35 +02:00
script.py [qa] Fix pyton syntax in rpc tests 2016-01-13 20:31:03 +01:00
socks5.py [qa] Use python2/3 syntax 2016-03-31 18:35:17 +02:00
test_framework.py [qa] Use python2/3 syntax 2016-03-31 18:35:17 +02:00
util.py getblockchaininfo: make bip9_softforks an object, not an array. 2016-04-13 16:53:52 +09:30