Home
last modified time | relevance | path

Searched refs:p2p_node (Results 1 – 17 of 17) sorted by relevance

/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/test/fuzz/
H A Dprocess_messages.cpp46 CNode& p2p_node = *peers.back(); in test_one_input() local
48 p2p_node.fSuccessfullyConnected = true; in test_one_input()
49 p2p_node.fPauseSend = false; in test_one_input()
50 p2p_node.nVersion = PROTOCOL_VERSION; in test_one_input()
51 p2p_node.SetSendVersion(PROTOCOL_VERSION); in test_one_input()
52 g_setup->m_node.peer_logic->InitializeNode(&p2p_node); in test_one_input()
54 connman.AddTestNode(p2p_node); in test_one_input()
H A Dprocess_message.cpp67 …CNode p2p_node{0, ServiceFlags(NODE_NETWORK | NODE_WITNESS | NODE_BLOOM), 0, INVALID_SOCKET, CAddr… in test_one_input() local
68 p2p_node.fSuccessfullyConnected = true; in test_one_input()
69 p2p_node.nVersion = PROTOCOL_VERSION; in test_one_input()
70 p2p_node.SetSendVersion(PROTOCOL_VERSION); in test_one_input()
71 g_setup->m_node.peer_logic->InitializeNode(&p2p_node); in test_one_input()
73 …(void)ProcessMessage(&p2p_node, random_message_type, random_bytes_data_stream, GetTimeMillis(), Pa… in test_one_input()
/dports/net-p2p/namecoin-daemon/namecoin-core-nc0.21.0.1/src/test/fuzz/
H A Dprocess_message.cpp76 …CNode& p2p_node = *MakeUnique<CNode>(0, ServiceFlags(NODE_NETWORK | NODE_WITNESS | NODE_BLOOM), 0,… in test_one_input() local
77 p2p_node.fSuccessfullyConnected = true; in test_one_input()
78 p2p_node.nVersion = PROTOCOL_VERSION; in test_one_input()
79 p2p_node.SetCommonVersion(PROTOCOL_VERSION); in test_one_input()
80 connman.AddTestNode(p2p_node); in test_one_input()
81 g_setup->m_node.peerman->InitializeNode(&p2p_node); in test_one_input()
83 … g_setup->m_node.peerman->ProcessMessage(p2p_node, random_message_type, random_bytes_data_stream, in test_one_input()
H A Dprocess_messages.cpp53 CNode& p2p_node = *peers.back(); in test_one_input() local
55 p2p_node.fSuccessfullyConnected = true; in test_one_input()
56 p2p_node.fPauseSend = false; in test_one_input()
57 p2p_node.nVersion = PROTOCOL_VERSION; in test_one_input()
58 p2p_node.SetCommonVersion(PROTOCOL_VERSION); in test_one_input()
59 g_setup->m_node.peerman->InitializeNode(&p2p_node); in test_one_input()
61 connman.AddTestNode(p2p_node); in test_one_input()
/dports/net-p2p/namecoin/namecoin-core-nc0.21.0.1/src/test/fuzz/
H A Dprocess_message.cpp76 …CNode& p2p_node = *MakeUnique<CNode>(0, ServiceFlags(NODE_NETWORK | NODE_WITNESS | NODE_BLOOM), 0,… in test_one_input() local
77 p2p_node.fSuccessfullyConnected = true; in test_one_input()
78 p2p_node.nVersion = PROTOCOL_VERSION; in test_one_input()
79 p2p_node.SetCommonVersion(PROTOCOL_VERSION); in test_one_input()
80 connman.AddTestNode(p2p_node); in test_one_input()
81 g_setup->m_node.peerman->InitializeNode(&p2p_node); in test_one_input()
83 … g_setup->m_node.peerman->ProcessMessage(p2p_node, random_message_type, random_bytes_data_stream, in test_one_input()
H A Dprocess_messages.cpp53 CNode& p2p_node = *peers.back(); in test_one_input() local
55 p2p_node.fSuccessfullyConnected = true; in test_one_input()
56 p2p_node.fPauseSend = false; in test_one_input()
57 p2p_node.nVersion = PROTOCOL_VERSION; in test_one_input()
58 p2p_node.SetCommonVersion(PROTOCOL_VERSION); in test_one_input()
59 g_setup->m_node.peerman->InitializeNode(&p2p_node); in test_one_input()
61 connman.AddTestNode(p2p_node); in test_one_input()
/dports/net-p2p/namecoin-utils/namecoin-core-nc0.21.0.1/src/test/fuzz/
H A Dprocess_message.cpp76 …CNode& p2p_node = *MakeUnique<CNode>(0, ServiceFlags(NODE_NETWORK | NODE_WITNESS | NODE_BLOOM), 0,… in test_one_input() local
77 p2p_node.fSuccessfullyConnected = true; in test_one_input()
78 p2p_node.nVersion = PROTOCOL_VERSION; in test_one_input()
79 p2p_node.SetCommonVersion(PROTOCOL_VERSION); in test_one_input()
80 connman.AddTestNode(p2p_node); in test_one_input()
81 g_setup->m_node.peerman->InitializeNode(&p2p_node); in test_one_input()
83 … g_setup->m_node.peerman->ProcessMessage(p2p_node, random_message_type, random_bytes_data_stream, in test_one_input()
H A Dprocess_messages.cpp53 CNode& p2p_node = *peers.back(); in test_one_input() local
55 p2p_node.fSuccessfullyConnected = true; in test_one_input()
56 p2p_node.fPauseSend = false; in test_one_input()
57 p2p_node.nVersion = PROTOCOL_VERSION; in test_one_input()
58 p2p_node.SetCommonVersion(PROTOCOL_VERSION); in test_one_input()
59 g_setup->m_node.peerman->InitializeNode(&p2p_node); in test_one_input()
61 connman.AddTestNode(p2p_node); in test_one_input()
/dports/net-p2p/bitcoin-utils/bitcoin-22.0/src/test/fuzz/
H A Dprocess_message.cpp80 CNode& p2p_node = *ConsumeNodeAsUniquePtr(fuzzed_data_provider).release(); in fuzz_target() local
83 p2p_node.fSuccessfullyConnected = successfully_connected; in fuzz_target()
84 connman.AddTestNode(p2p_node); in fuzz_target()
85 g_setup->m_node.peerman->InitializeNode(&p2p_node); in fuzz_target()
86 FillNode(fuzzed_data_provider, p2p_node, /* init_version */ successfully_connected); in fuzz_target()
94 … g_setup->m_node.peerman->ProcessMessage(p2p_node, random_message_type, random_bytes_data_stream, in fuzz_target()
99 LOCK(p2p_node.cs_sendProcessing); in fuzz_target()
100 g_setup->m_node.peerman->SendMessages(&p2p_node); in fuzz_target()
H A Dprocess_messages.cpp47 CNode& p2p_node = *peers.back(); in FUZZ_TARGET_INIT() local
50 p2p_node.fSuccessfullyConnected = successfully_connected; in FUZZ_TARGET_INIT()
51 p2p_node.fPauseSend = false; in FUZZ_TARGET_INIT()
52 g_setup->m_node.peerman->InitializeNode(&p2p_node); in FUZZ_TARGET_INIT()
53 FillNode(fuzzed_data_provider, p2p_node, /* init_version */ successfully_connected); in FUZZ_TARGET_INIT()
55 connman.AddTestNode(p2p_node); in FUZZ_TARGET_INIT()
/dports/net-p2p/bitcoin/bitcoin-22.0/src/test/fuzz/
H A Dprocess_message.cpp80 CNode& p2p_node = *ConsumeNodeAsUniquePtr(fuzzed_data_provider).release(); in fuzz_target() local
83 p2p_node.fSuccessfullyConnected = successfully_connected; in fuzz_target()
84 connman.AddTestNode(p2p_node); in fuzz_target()
85 g_setup->m_node.peerman->InitializeNode(&p2p_node); in fuzz_target()
86 FillNode(fuzzed_data_provider, p2p_node, /* init_version */ successfully_connected); in fuzz_target()
94 … g_setup->m_node.peerman->ProcessMessage(p2p_node, random_message_type, random_bytes_data_stream, in fuzz_target()
99 LOCK(p2p_node.cs_sendProcessing); in fuzz_target()
100 g_setup->m_node.peerman->SendMessages(&p2p_node); in fuzz_target()
H A Dprocess_messages.cpp47 CNode& p2p_node = *peers.back(); in FUZZ_TARGET_INIT() local
50 p2p_node.fSuccessfullyConnected = successfully_connected; in FUZZ_TARGET_INIT()
51 p2p_node.fPauseSend = false; in FUZZ_TARGET_INIT()
52 g_setup->m_node.peerman->InitializeNode(&p2p_node); in FUZZ_TARGET_INIT()
53 FillNode(fuzzed_data_provider, p2p_node, /* init_version */ successfully_connected); in FUZZ_TARGET_INIT()
55 connman.AddTestNode(p2p_node); in FUZZ_TARGET_INIT()
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/src/test/fuzz/
H A Dprocess_message.cpp80 CNode& p2p_node = *ConsumeNodeAsUniquePtr(fuzzed_data_provider).release(); in fuzz_target() local
83 p2p_node.fSuccessfullyConnected = successfully_connected; in fuzz_target()
84 connman.AddTestNode(p2p_node); in fuzz_target()
85 g_setup->m_node.peerman->InitializeNode(&p2p_node); in fuzz_target()
86 FillNode(fuzzed_data_provider, p2p_node, /* init_version */ successfully_connected); in fuzz_target()
94 … g_setup->m_node.peerman->ProcessMessage(p2p_node, random_message_type, random_bytes_data_stream, in fuzz_target()
99 LOCK(p2p_node.cs_sendProcessing); in fuzz_target()
100 g_setup->m_node.peerman->SendMessages(&p2p_node); in fuzz_target()
H A Dprocess_messages.cpp47 CNode& p2p_node = *peers.back(); in FUZZ_TARGET_INIT() local
50 p2p_node.fSuccessfullyConnected = successfully_connected; in FUZZ_TARGET_INIT()
51 p2p_node.fPauseSend = false; in FUZZ_TARGET_INIT()
52 g_setup->m_node.peerman->InitializeNode(&p2p_node); in FUZZ_TARGET_INIT()
53 FillNode(fuzzed_data_provider, p2p_node, /* init_version */ successfully_connected); in FUZZ_TARGET_INIT()
55 connman.AddTestNode(p2p_node); in FUZZ_TARGET_INIT()
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/test/functional/
H A Dqtum_header_spam.py125 self.p2p_node.send_message(msg)
135 self.p2p_node.send_message(msg)
146 self.p2p_node.send_message(msg)
157 self.p2p_node.send_message(msg)
173 self.p2p_node.send_message(msg)
174 self.p2p_node.wait_for_disconnect(timeout=5)
188 self.p2p_node.send_message(msg)
190 self.p2p_node.wait_for_disconnect(timeout=5)
242 self.p2p_node.send_message(msg)
245 self.p2p_node.send_message(msg_block(block))
[all …]
H A Dqtum_faulty_header_chain.py25 self.p2p_node = self.node.add_p2p_connection(P2PInterface())
101 self.p2p_node.send_message(msg_headers([CBlockHeader(block)]))
105 self.p2p_node.send_message(msg_block(block))
113 self.p2p_node.send_message(msg_headers([CBlockHeader(block)]))
H A Dqtum_duplicate_stake.py21 self.p2p_node = self.node.add_p2p_connection(P2PInterface())
48 self.p2p_node.send_message(msg_block(block))
84 self.p2p_node.send_message(msg_block(block))
122 self.p2p_node.send_message(msg_block(block))