Go to file
Henry de Valence 15ca12a2f5 Add a `connect` command for testing.
With `./src/zcashd -debug=net -logips=1`:
```
2019-09-19 15:24:38 Added connection to 127.0.0.1:35932 peer=1
2019-09-19 15:24:38 connection from 127.0.0.1:35932 accepted
2019-09-19 15:24:38 socket closed
2019-09-19 15:24:38 disconnecting peer=1
```

With `RUST_LOG="trace"`, `cargo run connect`:
```
Sep 19 08:24:24.530  INFO zebrad::commands::connect: version=Version { version: Version(170007), services: Services(1), timestamp: 2019-09-19T15:24:24.530059300Z, address_recv: (Services(1), V4(127.0.0.1:8233)), address_from: (Services(1), V4(127.0.0.1:9000)), nonce: Nonce(1), user_agent: "Zebra Connect", start_height: BlockHeight(0), relay: false }
Sep 19 08:24:24.530 TRACE Task::run: tokio_executor::threadpool::task: state=Running
Sep 19 08:24:24.530 DEBUG Task::run: tokio_net::driver::reactor: adding I/O source token=0
Sep 19 08:24:24.530  INFO zebrad::commands::connect: version_bytes="24e9276476657273696f6e000000000063000000cb30ab03179802000100000000000000a89d835d00000000010000000000000000000000000000000000ffff7f0000012029010000000000000000000000000000000000ffff7f000001232801000000000000000d5a6562726120436f6e6e6563740000000000"
Sep 19 08:24:24.530 TRACE Task::run: log: registering with poller
```
2019-09-22 17:27:08 -04:00
.github/workflows Continuous integration (#2) 2019-09-05 13:08:48 -04:00
zebra-chain Clean parsing via ReadZcashExt read-array helpers. 2019-09-19 12:53:16 -04:00
zebra-client Create workspace skeleton based on design.md 2019-08-29 14:46:54 -07:00
zebra-consensus Create workspace skeleton based on design.md 2019-08-29 14:46:54 -07:00
zebra-network Add a `connect` command for testing. 2019-09-22 17:27:08 -04:00
zebra-reactor Create workspace skeleton based on design.md 2019-08-29 14:46:54 -07:00
zebra-rpc Create workspace skeleton based on design.md 2019-08-29 14:46:54 -07:00
zebra-script Create workspace skeleton based on design.md 2019-08-29 14:46:54 -07:00
zebra-storage Create workspace skeleton based on design.md 2019-08-29 14:46:54 -07:00
zebrad Add a `connect` command for testing. 2019-09-22 17:27:08 -04:00
.gitignore Create workspace skeleton based on design.md 2019-08-29 14:46:54 -07:00
.rustfmt.toml Tracing endpoint (#3) 2019-09-09 13:05:42 -07:00
Cargo.toml Create workspace skeleton based on design.md 2019-08-29 14:46:54 -07:00
Dockerfile Continuous integration (#2) 2019-09-05 13:08:48 -04:00
cloudbuild.yaml Continuous integration (#2) 2019-09-05 13:08:48 -04:00
rust-toolchain Tracing endpoint (#3) 2019-09-09 13:05:42 -07:00