Switch commitments (#179)

* Adding switch commit to grin outputs
* logging output fix
* adding switch commitment hash to sum tree node
* added hash_with to Hashed trait, to allow for hashing to include another writeable element
* adding hash_with as method in hashed trait
This commit is contained in:
Yeastplume
2017-10-16 22:23:10 +01:00
committed by Ignotus Peverell
parent c84a136e48
commit 8f76746e84
18 changed files with 312 additions and 115 deletions
+3 -1
View File
@@ -42,7 +42,7 @@ use config::GlobalConfig;
use wallet::WalletConfig;
use core::global;
use keychain::Keychain;
use util::{LOGGER, init_logger};
use util::{LoggingConfig, LOGGER, init_logger};
fn start_from_config_file(mut global_config: GlobalConfig) {
info!(
@@ -107,6 +107,8 @@ fn main() {
.mining_parameter_mode
.unwrap(),
);
} else {
init_logger(Some(LoggingConfig::default()));
}
let args = App::new("Grin")