-
Notifications
You must be signed in to change notification settings - Fork 990
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[2.x.x] Generate txhashset archives on 720 block intervals. #2919
[2.x.x] Generate txhashset archives on 720 block intervals. #2919
Conversation
… of the current txhashset archive
@@ -297,15 +299,17 @@ impl MessageHandler for Protocol { | |||
sm_req.hash, sm_req.height |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This log has been changed (in master before reverting) as:
debug!(
"handle_payload: txhashset request for {} at {}, response with {} at {}",
sm_req.hash, sm_req.height, txhashset_header.height, txhashset_header_hash,
"handle_payload: txhashset req for {} at {}",
sm_req.hash, sm_req.height
);
let mut genesis = genesis::genesis_dev(); | ||
let keychain = keychain::ExtKeychain::from_random_seed(false).unwrap(); | ||
let key_id = keychain::ExtKeychain::derive_key_id(0, 1, 0, 0, 0); | ||
let reward = reward::output(&keychain, &key_id, 0, false).unwrap(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, some interfaces has been changed and the test code need a bit rework now:
error[E0061]: this function takes 5 parameters but 4 parameters were supplied
--> chain/tests/chain_test_helper.rs:63:15
|
63 | let reward = reward::output(&keychain, &key_id, 0, false).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 5 parameters
error[E0061]: this function takes 5 parameters but 4 parameters were supplied
--> chain/tests/chain_test_helper.rs:92:16
|
92 | let reward = libtx::reward::output(keychain, &pk, 0, false).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 5 parameters
Hi @cadmuspeverell, could you be able to make these changes? However I can copy your branch and do it. |
Closed for #2951. |
Replace #2813. Cause this previous PR was merged on master branch.