mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-19 01:34:57 +00:00
wip
This commit is contained in:
@ -65,7 +65,7 @@ int main() {
|
||||
std::cerr << "CLIENT -> RELAY: " << q.size() << " bytes" << std::endl;
|
||||
{
|
||||
std::vector<std::string> have, need;
|
||||
q = x2.handleQuery(q, have, need);
|
||||
q = x2.reconcile(q, have, need);
|
||||
|
||||
// q and have are returned to client
|
||||
for (auto &id : have) {
|
||||
@ -83,7 +83,7 @@ int main() {
|
||||
std::cerr << "RELAY -> CLIENT: " << q.size() << " bytes" << std::endl;
|
||||
|
||||
std::vector<std::string> have, need;
|
||||
q = x1.handleQuery(q, have, need);
|
||||
q = x1.reconcile(q, have, need);
|
||||
|
||||
for (auto &id : need) {
|
||||
std::cout << "xor,1,NEED," << to_hex(id) << "\n";
|
||||
|
Reference in New Issue
Block a user