Home
last modified time | relevance | path

Searched refs:node_id_eq (Results 1 – 23 of 23) sorted by relevance

/dports/net-p2p/c-lightning/lightning-0.10.2/common/test/
H A Drun-gossmap_local.c269 assert(node_id_eq(&actual_n1, n1)); in check_cannounce()
270 assert(node_id_eq(&actual_n2, n2)); in check_cannounce()
272 assert(node_id_eq(&actual_n1, n2)); in check_cannounce()
273 assert(node_id_eq(&actual_n2, n1)); in check_cannounce()
295 assert(node_id_eq(&node_id, n)); in check_nannounce()
H A Drun-bolt11.c95 assert(node_id_eq(&er->pubkey, &r->pubkey)); in test_b11()
/dports/net-p2p/c-lightning/lightning-0.10.2/lightningd/
H A Dlog_status.c21 && !node_id_eq(node_id, suggested_node_id)) in log_status_msg()
H A Dping.c24 if (node_id_eq(id, &i->id)) in find_ping_cmd()
H A Dconnect_control.c52 if (node_id_eq(&i->id, id)) in find_connect()
H A Dlog.c83 return node_id_eq(&nc->node_id, node_id); in node_id_cache_eq()
838 if (!node_id || !node_id_eq(node_id, info->node_id)) in log_to_json()
H A Dpay.c902 && !node_id_eq(payments[i]->destination, in send_payment_core()
944 && !node_id_eq(payments[i]->destination, in send_payment_core()
H A Dpeer_control.c151 if (node_id_eq(&p->id, id)) in peer_by_id()
/dports/net-p2p/c-lightning/lightning-0.10.2/common/
H A Dnode_id.h11 static inline bool node_id_eq(const struct node_id *a, in node_id_eq() function
H A Dgossmap.c42 return node_id_eq(&pidxid, &id); in nodeidx_eq_id()
/dports/net-p2p/c-lightning/lightning-0.10.2/plugins/
H A Dtopology.c98 if (node_id_eq(&dstid, &excludes[i]->u.node_id)) in can_carry()
266 HTABLE_DEFINE_TYPE(struct node_id, node_id_keyof, node_id_hash, node_id_eq,
295 if (node_id_eq(&node_id[0], &local_id)) in json_add_halfchan()
297 else if (node_id_eq(&node_id[1], &local_id)) in json_add_halfchan()
H A Dkeysend.c79 node_id_eq(p->destination, p->result->erring_node) && in keysend_cb()
198 if (node_id_eq(&my_id, p->destination)) { in json_keysend()
H A Dpay.c235 if (node_id_eq(&nodeid, &routehint[i].pubkey)) in node_or_channel_in_routehint()
1227 && node_id_eq(&hints[i][0].pubkey, &my_id)) { in filter_routehints()
2459 if (node_id_eq(&my_id, p->destination)) in json_paymod()
H A Dlibplugin-pay.c633 if (node_id_eq(&dstid, &nodes[i])) in dst_is_excluded()
2424 && node_id_eq(&hints[i][0].pubkey, myid)) { in filter_routehints()
2509 if (node_id_eq(&r->pubkey, &nodes[j])) in routehint_excluded()
H A Dfunder.c111 if (node_id_eq(&i->peer_id, id)) { in cleanup_peer_pending_opens()
/dports/net-p2p/c-lightning/lightning-0.10.2/gossipd/
H A Drouting.c76 return node_id_eq(&pna->nodeid, pc); in pending_node_announce_eq()
337 return node_id_eq(&n->id, pc); in node_map_node_eq()
539 if (node_id_eq(&chan->nodes[0]->id, &rstate->local_id)) in maybe_add_local_chan()
541 else if (node_id_eq(&chan->nodes[1]->id, &rstate->local_id)) in maybe_add_local_chan()
800 return node_id_eq(&chan->nodes[0]->id, &rstate->local_id) in is_local_channel()
801 || node_id_eq(&chan->nodes[1]->id, &rstate->local_id); in is_local_channel()
1708 node_id_eq(&node_id, in routing_add_node_announcement()
H A Dgossipd.c53 if (node_id_eq(&other_node(node, c)->id, &daemon->id)) in peer_disable_channels()
90 if (node_id_eq(&peer->id, id)) in find_peer()
154 if (!node_id_eq(&id, &n->id) || timestamp != n->bcast.timestamp) { in get_node_announcement()
H A Dqueries.c975 if (dst && node_id_eq(&(*ids)[dst-1], &(*ids)[src])) in uniquify_node_ids()
/dports/net-p2p/c-lightning/lightning-0.10.2/wallet/test/
H A Drun-wallet.c1016 node_id_eq(&u.close_info->peer_id, &id) && in test_wallet_outputs()
1101 node_id_eq(&u.close_info->peer_id, &id) && in test_wallet_outputs()
1121 node_id_eq(&u.close_info->peer_id, &id) && in test_wallet_outputs()
1220 CHECK_MSG(node_id_eq(&p1->id, &p2->id), "NodeIDs do not match"); in channelseq()
1844 CHECK(node_id_eq(t2->destination, t->destination)); in test_payment_crud()
/dports/security/tor-devel/tor-0.4.7.2-alpha/src/feature/nodelist/
H A Dnodelist.c154 node_id_eq(const node_t *node1, const node_t *node2) in node_id_eq() function
159 HT_PROTOTYPE(nodelist_map, node_t, ht_ent, node_id_hash, node_id_eq);
160 HT_GENERATE2(nodelist_map, node_t, ht_ent, node_id_hash, node_id_eq,
/dports/security/tor/tor-0.4.6.8/src/feature/nodelist/
H A Dnodelist.c154 node_id_eq(const node_t *node1, const node_t *node2) in node_id_eq() function
159 HT_PROTOTYPE(nodelist_map, node_t, ht_ent, node_id_hash, node_id_eq);
160 HT_GENERATE2(nodelist_map, node_t, ht_ent, node_id_hash, node_id_eq,
/dports/net-p2p/c-lightning/lightning-0.10.2/connectd/
H A Dconnectd.c83 node_id_eq,
245 if (node_id_eq(id, &i->id)) in find_connecting()
/dports/net-p2p/c-lightning/lightning-0.10.2/plugins/spender/
H A Dmultifundchannel.c1948 if (node_id_eq(&dest->id, &(*dests)[j].id)) in param_destinations_array()