Changeset View
Changeset View
Standalone View
Standalone View
src/test/util/net.cpp
| Show All 27 Lines | void ConnmanTestMsg::Handshake(CNode &node, bool successfully_connected, | ||||
| CSerializedNetMsg msg_version{ | CSerializedNetMsg msg_version{ | ||||
| mm.Make(NetMsgType::VERSION, version, | mm.Make(NetMsgType::VERSION, version, | ||||
| Using<CustomUintFormatter<8>>(remote_services), | Using<CustomUintFormatter<8>>(remote_services), | ||||
| // dummy time | // dummy time | ||||
| int64_t{}, | int64_t{}, | ||||
| // ignored service bits | // ignored service bits | ||||
| int64_t{}, | int64_t{}, | ||||
| // dummy addrMe | // dummy addrMe | ||||
| CService{}, | WithParams(CNetAddr::V1, CService{}), | ||||
| // ignored service bits | // ignored service bits | ||||
| int64_t{}, | int64_t{}, | ||||
| // dummy addrFrom | // dummy addrFrom | ||||
| CService{}, | WithParams(CNetAddr::V1, CService{}), | ||||
| // dummy nonce | // dummy nonce | ||||
| uint64_t{1}, | uint64_t{1}, | ||||
| // dummy subver | // dummy subver | ||||
| std::string{}, | std::string{}, | ||||
| // dummy starting_height | // dummy starting_height | ||||
| int32_t{}, | int32_t{}, | ||||
| // | // | ||||
| relay_txs, | relay_txs, | ||||
| ▲ Show 20 Lines • Show All 78 Lines • Show Last 20 Lines | |||||