Skip to content

Conversation

@jtimon
Copy link
Contributor

@jtimon jtimon commented May 4, 2018

Bigger refactor than I initially thought.
But basically still cleaning up pow stuff we don't need, and including a few new blocksign-related fields that replace those and document them.

Doesn't come with tests, but if it's not only rpc, then nack, please.

Dependencies:

jtimon added a commit to jtimon/elements-explorer that referenced this pull request May 4, 2018
@instagibbs
Copy link
Contributor

concept ACK

@instagibbs
Copy link
Contributor

Add some really basic rpc test and I'll merge

@jtimon jtimon force-pushed the e14-cleanup-pow branch 4 times, most recently from 4ecca9d to c49cfb4 Compare May 14, 2018 15:00
@instagibbs
Copy link
Contributor

utACK c49cfb4

thank you for adding tests

@jtimon jtimon force-pushed the e14-cleanup-pow branch 2 times, most recently from 4831d31 to 3ef4828 Compare May 16, 2018 16:55
@jtimon jtimon force-pushed the e14-cleanup-pow branch from 3ef4828 to de512be Compare June 4, 2018 22:27
@jtimon jtimon force-pushed the e14-cleanup-pow branch 2 times, most recently from 8fda7d4 to b821e10 Compare June 5, 2018 02:18
@jtimon jtimon changed the title RPC: Stop providing useless fake pow data RPC: Signblock: Support signblock on rpc/blockchain Jun 5, 2018
@jtimon jtimon force-pushed the e14-cleanup-pow branch from b821e10 to 635bfd7 Compare June 12, 2018 18:08
@jtimon
Copy link
Contributor Author

jtimon commented Jun 12, 2018

It seems I found out what was happening with travis.
For some reason (I assume when calling with help) the tests expected a runtime_error instead of a JSONRPCError, see 70ace18

I will squash. Should I squash only that commit or do more squashing?

@instagibbs
Copy link
Contributor

wow, how couldn't we figure this out...

please squash into whatever you find sensible, I need to review it again

@jtimon jtimon force-pushed the e14-cleanup-pow branch from 635bfd7 to 196c2e4 Compare June 12, 2018 19:15
@jtimon
Copy link
Contributor Author

jtimon commented Jun 12, 2018

Squashed only the fixup commit for now, feel free to ask for further squashing.

@instagibbs instagibbs changed the title RPC: Signblock: Support signblock on rpc/blockchain RPC: Signblock: Support signblock info on rpc/blockchain Jun 12, 2018
@instagibbs
Copy link
Contributor

Apologies, could you squash the first QA one, at least, since it'll make the previous commit fail atomically?

I don't mind logic+qa changes in same commit at all.

Otherwist, utACK!

@jtimon
Copy link
Contributor Author

jtimon commented Jun 12, 2018

I'm fine squashing both qa changes with their respective changes or even everything in one commit. At first it was just one commit for the changes and another activating and improving the tests, but after the confusing I ended up separating things more to divide and conquer and now the test re-activation is already merged.

jtimon added 2 commits June 13, 2018 04:31
QA: Adapt rpc_blockchain tests to not having pow
QA: Adapt rpc_blockchain tests to signed blocks
@jtimon jtimon force-pushed the e14-cleanup-pow branch from 196c2e4 to b857c43 Compare June 13, 2018 02:32
@jtimon jtimon merged commit b857c43 into ElementsProject:elements-0.14.1 Jun 13, 2018
jtimon added a commit that referenced this pull request Jun 13, 2018
b857c43 RPC: Signblock: Support signblock on rpc/blockchain (Jorge Timón)
cdb79e9 RPC: Stop providing useless fake pow data (Jorge Timón)
@jtimon jtimon deleted the e14-cleanup-pow branch June 18, 2018 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants