Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
RPC: add weight to mempool entry output #11256
Conversation
fanquake
added
the
RPC/REST/ZMQ
label
Sep 6, 2017
|
No test affected |
|
Concept ACK |
|
I guess you need to update the documentation as well. |
|
Tests are failing. Do not merge as is. |
|
txid1 is failing because at that point "tx" is actually referring to the input to txid1, not the transaction for txid1. It works fine for me if I add
prior to the assert_equal lines (and uncomment them obviously). |
esotericnonsense
added some commits
Sep 7, 2017
|
Doh. You're absolutely right. Fixed. The final commit 'Refactor segwit 3-tx-chain' changes all references to 'tx' to 'tx/tx1/tx2/tx3' in order to clarify that. It has a large diff and can be dropped if necessary (only affects code style). I have also rebased on master at 3255d63. Should be good to go now. |
|
Concept ACK, but it turns out GetTxSize is not actually what we claim it is. See the calculation of I thinke the right path forward is:
|
|
@morcos AFAIK that's exclusively used for node policy, and as such isn't a topic for standardisation...? |
esotericnonsense commentedSep 6, 2017
•
Edited 1 time
-
esotericnonsense
Sep 6, 2017
Tested against master using the REST api (/rest/mempool/contents), simple addition of a field.
Personal use case is for fee analysis software.