{"push_id":653242318,"size":2,"distinct_size":1,"ref":"refs/heads/generate-rpc","head":"d26aaffb2b8989705045481d489e3f3f830234b3","before":"f6f43c08a1cfcdf57454b2aad2160c0b578b878a","commits":[{"sha":"927a0e9c37d1c71c9d8b072d83dae67d908cb99f","author":{"email":"40f085f3e2c05dc127b0a330228985d077d6c8f7@conformal.com","name":"Dave Collins"},"message":"txscript: Test consistency and cleanup.\n\n- Move reference tests to test package since they are intended to\n  exercise the engine as callers would\n- Improve the short form script parsing to allow additional opcodes:\n  DATA_#, OP_#, FALSE, TRUE\n- Make use of a function to decode hex strings rather than manually\n  defining byte slices\n- Update the tests to make use of the short form script parsing logic\n  rather than manually defining byte slices\n- Consistently replace all []byte{} and [][]byte{} with nil\n- Define tests only used in a specific function inside that func\n- Move invalid flag combination test to engine_test since that is what\n  it is testing\n- Remove all redundant script tests in favor of the JSON-based tests in\n  the data directory.\n- Move several functions from internal_test.go to the test files\n  associated with what the tests are checking","distinct":false,"url":"https://api.github.com/repos/aakselrod/btcd/commits/927a0e9c37d1c71c9d8b072d83dae67d908cb99f"},{"sha":"d26aaffb2b8989705045481d489e3f3f830234b3","author":{"email":"60c6d277a8bd81de7fdde19201bf9c58a3df08f4@akselrod.org","name":"Alex Akselrod"},"message":"Create `generate` RPC command to close #362\n\nCreate GenerateCmd in btcjson v2. Update tests to check GenerateCmd.\n\nUpdate chaincfg/params.go with a new bool in Params, GenerateSupported,\nwith true values in SimNetParams and RegressionNetParams and false in\nthe others.\n\nCreate new flag, discreteMining, in CPUMiner struct.\n\nAdd GenerateNBlocks function to cpuminer.go and handleGenerate\nfunction to rpcserver.go.\n\nUpdate documentation for the RPC calls.","distinct":true,"url":"https://api.github.com/repos/aakselrod/btcd/commits/d26aaffb2b8989705045481d489e3f3f830234b3"}]}