Branch: refs/heads/master
Home: https://github.com/conformal/btcd
Commit: a3d783e9e872b508cdddc7f02a2a932986558c6c
https://github.com/conformal/btcd/commit/a3d783e9e872b508cdddc7f02a2a932986558c6c
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-12-10 (Tue, 10 Dec 2013)
Changed paths:
M peer.go
Log Message:
-----------
set up p.na before preparing our reply version message.
Means we can use that instead of generating another (next commit).
Commit: d2dd40aae22ff1500be0616e36bfea035750ed92
https://github.com/conformal/btcd/commit/d2dd40aae22ff1500be0616e36bfea035750ed92
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-12-10 (Tue, 10 Dec 2013)
Changed paths:
M addrmanager.go
Log Message:
-----------
fix tor range. add :: to make sure it is parsed as v6.
Commit: 1e836d26f4d3620ed73b4369a42793e0af9f5749
https://github.com/conformal/btcd/commit/1e836d26f4d3620ed73b4369a42793e0af9f5749
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-12-10 (Tue, 10 Dec 2013)
Changed paths:
M addrmanager.go
M peer.go
Log Message:
-----------
Handle tor and dns-name addresses.
Perform the requisite processing on .onion addresses to turn them into the tor
reserved ipv6 region (the same as bitcoind and onioncat). Furthermore,
when printing an ip address, reverse the conversion so we print it
nicely. base32 as standard is uppercase, but tor and bitcoind seem to
use lowercase so we first must for we force .onion addrs to uppercase
(and to lowercase on the reverse).
As a side effect we now should handle dns names on the command line (via tor if
required) and add them to the addressmanger as necessary.
Commit: f93203b91e66848f6e2c5a1750f96cf3aa15e9ad
https://github.com/conformal/btcd/commit/f93203b91e66848f6e2c5a1750f96cf3aa15e9ad
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-12-10 (Tue, 10 Dec 2013)
Changed paths:
M addrmanager.go
M peer.go
M rpcserver.go
M server.go
Log Message:
-----------
Initial basic support for selection of external ip address.
This implements only the bare bones of external ip address selection
using very similar algorithms and selection methods to bitcoind. Every
address we bind to, and if we bind to the wildcard, every listening
address is recorded, and one for the appropriate address type of the
peer is selected.
Support for fetching addresses via upnp, external services, or via the
command line are not yet implemented.
Closes #35
Commit: d2d899d1575522e464af813535ffede8e9210289
https://github.com/conformal/btcd/commit/d2d899d1575522e464af813535ffede8e9210289
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-12-10 (Tue, 10 Dec 2013)
Changed paths:
M peer.go
Log Message:
-----------
pushVersionMessage: fix you/me address generation
The you address is the one we already set up fo the user, so either waht
we connected to (this will work with tor, etc), or the ip the user
connect to us from otherwise. We must however check to see if it is the address
of the proxy and strip it.
The me addesss, we use the same address selection for local addresses as
always
This should mean that we pass our tor address out in the version message
and thus the peers should add us to their addressmanager.
Commit: 8968f7dd74e8fe7f8b247511120ecfeba61071bd
https://github.com/conformal/btcd/commit/8968f7dd74e8fe7f8b247511120ecfeba61071bd
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-12-10 (Tue, 10 Dec 2013)
Changed paths:
M config.go
M server.go
Log Message:
-----------
Add support for --externalip.
Closes #38
Commit: 1145fb57ed2a26c8e50153ceb2fb640f75fe2988
https://github.com/conformal/btcd/commit/1145fb57ed2a26c8e50153ceb2fb640f75fe2988
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-12-10 (Tue, 10 Dec 2013)
Changed paths:
M addrmanager.go
Log Message:
-----------
handle .onion addresses in deserialising addrmanager.
Use the generic function that already handles this.
Commit: f8e88df237c6f779f6427b13777891bf70533e34
https://github.com/conformal/btcd/commit/f8e88df237c6f779f6427b13777891bf70533e34
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-12-10 (Tue, 10 Dec 2013)
Changed paths:
M config.go
M server.go
A upnp.go
Log Message:
-----------
Add basic support for UPnP.
This code borrows and fixes up a chunk of code to handle upnp from
Taipei-Torrent (https://github.com/jackpal/Taipei-Torrent), under
current versions of go none of the xml parsing was working correctly.
This fixes that and also refactors the SOAP code to be a little nicer by
stripping off the soap containers. It is still rather rough but seems to
correctly redirect ports and advertise the correct address.
Upnp is not run by default. --upnp will enable it, but it will still not
run if we are not listening or if --externalip is in use.
Closes #51
Commit: 2a554c43b09af6030b77a9a25dcf5ee3ed9c06af
https://github.com/conformal/btcd/commit/2a554c43b09af6030b77a9a25dcf5ee3ed9c06af
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-12-10 (Tue, 10 Dec 2013)
Changed paths:
M btcd.go
M server.go
Log Message:
-----------
Shutdown server fully on ctrl-c
since we don't wait for peers, this largely just waits for the server procs
themselves to die. Unless the entire server is wedged (which is what kill -9 is
for) this should always shut down fairly swiftly.
This should mean we sync addrmanager and disestablish upnp correctly on
interrupt.
Discussed with davec.
Commit: 7df65008be622af9d0db3f23eed54c7a9139c233
https://github.com/conformal/btcd/commit/7df65008be622af9d0db3f23eed54c7a9139c233
Author: Owain G. Ainsworth <[email protected]>
Date: 2013-12-10 (Tue, 10 Dec 2013)
Changed paths:
M signal.go
Log Message:
-----------
Run interrupt handlers in lifo order.
Compare: https://github.com/conformal/btcd/compare/c8e88d383e5f...7df65008be62