Bitcoin full node and query server
Mar 26, 2018
Home
Server interfaces
Interface performance
Node performance
Node architecture
Database architecture
Slack
Team
View in context
in the libbitcoin Slack
#general
mirror.
N
narodnik
10:38
Hello everyone, I made a pull request for adding ec_sum to math/
https://github.com/libbitcoin/libbitcoin/pull/922
GitHub
added new function to math/ called ec_sum. Adds a list of provided ec points together. by narodnik · Pull Request #922 · libbitcoin/libbitcoin
Provided unit test. Neccessary for modern privacy schemes which hide sharing amounts. They involve summing points from different curves together: A + B + C. This function provides that functionality.
👍
2
N
narodnik
14:48
value_one = [0, 0, 0, ..., 0, 1] G = secret_to_public(value_one) H = ec_multiply(G, some_constant) rH = ec_multiply(H, r) aG = ec_multiply(G, a) output = ec_sum([rH, aG]) (libbitcoin psuedo code)
👍
1