diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2016-11-18 12:47:35 +0100 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2016-11-18 12:47:35 +0100 |
| commit | 6d55dcba54ceaccc9d90ea7c2f1746524a6e81e3 (patch) | |
| tree | 264bcf206535d41cdfec7c0a659c861ea0bd5f31 /node/node.cpp | |
| parent | d9e011488b9d7af4683e6640216e78871a06a5ec (diff) | |
| download | cmix-6d55dcba54ceaccc9d90ea7c2f1746524a6e81e3.tar.gz cmix-6d55dcba54ceaccc9d90ea7c2f1746524a6e81e3.tar.bz2 cmix-6d55dcba54ceaccc9d90ea7c2f1746524a6e81e3.zip | |
Made permutation a responsibility of cmix in the precomputation phase.
Diffstat (limited to 'node/node.cpp')
| -rw-r--r-- | node/node.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/node/node.cpp b/node/node.cpp index 0f2bae5..a6ad1e1 100644 --- a/node/node.cpp +++ b/node/node.cpp @@ -167,6 +167,13 @@ void Node::start_precomputation() { exit(-1); } + std::stringstream ss; + ss << "permutation:"; + for(auto i = 0; i < cmix_ctx.nr_participants; ++i) { + ss << " " << cmix_ctx.permutation[i]; + } + BOOST_LOG_TRIVIAL(trace) << ss.str(); + cmix_proto::PrePre prepre; for(size_t i = 0; i < cmix_ctx.nr_participants; ++i) { |
