forked from MatthewLM/cbitcoin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMSC417_README
41 lines (29 loc) · 1.36 KB
/
CMSC417_README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Information:
BRBitcoin is a client that provides a portion of the bitcoin protocol
for the UMD bitcoin network. Fully-supported commands include version,
verack, ping, pong, addr, and getaddr. Partially-supported commands
include getblocks, inv, getdata, and block (as these commands are
implemented one-way rather than two-way; for instance, my client will
issue getblocks commands, but doesn't respond to them as a normal client
would).
Version exchange, ping-pong every minute, an interactive interface,
multiple connections, and connection bookkeeping are features of this
client. Blocks can be downloaded through the various protocol messages,
but this feature is not guaranteed to be 100% correct. Mining and DHT
was not implemented.
BRBitcoin usage:
./bin/BRBitcoin block_chain_directory
Run the bitcoin client with a given block chain directory that will be
created if not already.
BRBitcoin command usage:
help [command]
Display information about all commands or a given command
listen ipv4_address port
Listen on a given IP address and port. *MUST* be called before
any connect call
connect ipv4_address port
Connect to a host in the UMD bitcoin network
connections
Lists all pending and active connections
quit
Exits the client