Branch: refs/heads/master Home: https://github.com/btcsuite/btcd Commit: ea9bf748bb0bd469b6a0a650d7843cd78dbd03a8 https://github.com/btcsuite/btcd/commit/ea9bf748bb0bd469b6a0a650d7843cd78dbd03a8 Author: Dave Collins <da...@conformal.com> Date: 2016-11-04 (Fri, 04 Nov 2016)
Changed paths: M connmgr/connmanager.go M server.go Log Message: ----------- connmgr: Remove type defs for callbacks. This removes the type definitions for the callback functions in favor of declaring them directly in the Config struct. This is more consistent with the rest of the code base and is preferred since it means callers reviewing the documentation don't have to follow another level of indirection to figure out the signature. Commit: d98430d8cac454205e100a313727751ee00b148b https://github.com/btcsuite/btcd/commit/d98430d8cac454205e100a313727751ee00b148b Author: Dave Collins <da...@conformal.com> Date: 2016-11-04 (Fri, 04 Nov 2016) Changed paths: M connmgr/connmanager.go M server.go Log Message: ----------- connmgr: Implement inbound connection handling. This modifies the connection manager to provide support for accepting inbound connections on a caller-provided set of listeners and notify the caller via a callback. This is only the minimum work necessary to get inbound support into the connection manager. The intention for future commits is to move more connection-related logic such as limiting the maximum number of overall connections and banned peer tracking into the connection manager. Commit: b65881c1371b4f6859b24f29531393af70dbfd26 https://github.com/btcsuite/btcd/commit/b65881c1371b4f6859b24f29531393af70dbfd26 Author: Dave Collins <da...@conformal.com> Date: 2016-11-04 (Fri, 04 Nov 2016) Changed paths: M connmgr/connmanager_test.go Log Message: ----------- connmgr: Add tests for new inbound listener logic. Compare: https://github.com/btcsuite/btcd/compare/2c6f864b5554...b65881c1371b