Commit graph

  • 83a19b239d Replace ScriptToAddress with ScriptToAddrHash to return an address hash. Josh Rickmar 2013-10-08 10:49:45 -04:00
  • 21a2158eca Fixes for btcutil and btcscript api changes Josh Rickmar 2013-10-08 12:37:06 -04:00
  • 697532bd68 Add handling for mempool command. Dave Collins 2013-10-08 00:04:51 -05:00
  • d4e006e515 Update findcheckpoint to support testnet and dbtype. Dave Collins 2013-10-07 20:53:25 -05:00
  • 1d2c48555b Misc cleanup. Dave Collins 2013-10-07 19:24:44 -05:00
  • 19d28f90e6 Log transactions rejected from mempool as debug. Dave Collins 2013-10-07 18:45:53 -05:00
  • 52a1488eaf bitcoind only fails on invalid (undefined) opcodes when they are executed. Owain G. Ainsworth 2013-10-07 23:36:39 +01:00
  • 849c830cf8 Move DNS seed consts to same file that uses them. Dave Collins 2013-10-07 17:57:43 -05:00
  • c03f2b757b Move initial DNS seeding to own func. Dave Collins 2013-10-07 17:38:45 -05:00
  • 4b728df738 Update some comments and code consistency. Dave Collins 2013-10-07 17:27:59 -05:00
  • ca5c734e05 Add warning if there are no sync peers. Dave Collins 2013-10-07 17:09:33 -05:00
  • 8e7d900201 Up some limits on !windows. Marco Peereboom 2013-10-07 16:24:19 -05:00
  • 995d8da491 Handle another removal case missed in prev commit. Dave Collins 2013-10-07 10:10:10 -05:00
  • 219a6131f4 Correct all list/container loops that remove items. Dave Collins 2013-10-07 09:04:11 -05:00
  • ff2c88e3b4 Fix an import path. John C. Vernaleo 2013-10-07 10:06:15 -04:00
  • 95ecbadb8e Ensure readVarInt handles short buf on first byte. Dave Collins 2013-10-06 22:06:34 -05:00
  • 0b334bc841 Correct reading of serialized height in coinbase. Dave Collins 2013-10-06 13:01:54 -05:00
  • bce548cb99 Update reorg test to insert genesis block first. Dave Collins 2013-10-06 13:51:10 -05:00
  • 8e12234c56 Fix a couple of comments. Dave Collins 2013-10-05 17:40:54 -05:00
  • c28c6e7636 Correct blog link in README.md. Dave Collins 2013-10-05 02:51:12 -05:00
  • 19a238825b Fix typo in README.md Dave Collins 2013-10-05 02:48:03 -05:00
  • 4864298884 Update README. Dave Collins 2013-10-04 22:59:05 -05:00
  • 9197342df0 Add deps.txt to track all deps used per release. Dave Collins 2013-10-04 16:03:50 -05:00
  • 168ff0e129 Bump version to 0.3.0. Dave Collins 2013-10-04 14:29:37 -05:00
  • bba9fed133 Accepted transactions should log at debug level. Dave Collins 2013-10-04 14:16:55 -05:00
  • 4151416b16 Change processing block log message to trace. Dave Collins 2013-10-04 13:41:24 -05:00
  • efb54784c8 Log rejected blocks and transactions as info. Dave Collins 2013-10-04 13:35:28 -05:00
  • 223d146a10 Improve logging of rejected transactions. Dave Collins 2013-10-04 13:33:54 -05:00
  • 83ac359c51 Convert transaction pool errors to their own type. Dave Collins 2013-10-04 13:30:50 -05:00
  • 78b555fcf9 Improve logging of rejected blocks. Dave Collins 2013-10-04 13:13:16 -05:00
  • 5444d262b8 Fix for signrawtransaction. John C. Vernaleo 2013-08-12 16:01:01 -04:00
  • 9841403c58 Correct comment on fetchTxListMain. Dave Collins 2013-10-04 12:11:58 -05:00
  • e4d3f25991 Update imports for goleveldb to Conformal fork. Dave Collins 2013-10-04 11:40:41 -05:00
  • c3a17de326 Comment Connected function in peer. Dave Collins 2013-10-04 10:44:36 -05:00
  • 689c699bc5 Add a new findcheckpoint utility. Dave Collins 2013-10-04 10:12:24 -05:00
  • 905715e830 Update LICENSE to ISC on new utils. Dave Collins 2013-10-04 10:11:38 -05:00
  • fd4b63073f Go fmt new utils. Dave Collins 2013-10-04 10:09:15 -05:00
  • 96b92552b9 Can't use Connected() in Disconnect since it just set disconnected. Owain G. Ainsworth 2013-10-04 15:05:31 +01:00
  • 7659a134c9 Add new tool to rewind the database to a specific height or sha Dale Rahn 2013-08-20 12:11:59 -04:00
  • a10da1ed6c Update btcd for btcdb API change. Dale Rahn 2013-10-03 16:42:38 -04:00
  • 6ff9d152ca Update the sample config file. Dave Collins 2013-10-04 01:38:41 -05:00
  • 8364392037 Remove SeedPeer option as it's not implemented. Dave Collins 2013-10-04 00:46:03 -05:00
  • 1db523883e Add missing format specifier in mempool.go. Dave Collins 2013-10-04 00:38:33 -05:00
  • f983b0846e Add missing format specific in addrmanager. Dave Collins 2013-10-04 00:37:15 -05:00
  • 47c07ee5e1 Update a few comments. Dave Collins 2013-10-04 00:34:24 -05:00
  • 78e9b94d93 Implement transaction pool and relay. Dave Collins 2013-09-20 12:55:27 -05:00
  • 3678153ae4 Allow regtest tool to be treated as a sync peer. Dave Collins 2013-10-03 22:31:00 -05:00
  • cda0b10082 Introduce an API change for btcdb Dale Rahn 2013-10-03 15:21:45 -04:00
  • d58fb25d98 Update btcchain for btcdb API change. Dale Rahn 2013-10-03 16:43:36 -04:00
  • 182c4d9ee6 Remove peers from duplicate map *before* we restart sync. Owain G. Ainsworth 2013-10-03 17:59:34 +01:00
  • 6bb0b80bbb Ignore non-sync invs and don't relay invs if we are not yet caught up. Owain G. Ainsworth 2013-10-03 16:25:13 +01:00
  • 07d634c76a remove old API function. Dale Rahn 2013-10-03 10:15:13 -04:00
  • 78d4bfecd4 Remove obsolete API functions Dale Rahn 2013-10-02 18:29:37 -04:00
  • 6dbc61e960 Remove the noverify option. Dave Collins 2013-10-03 13:01:18 -05:00
  • 0c6b79afb0 Don't disconnect on unrequested blocks for regtest. Dave Collins 2013-10-03 11:21:41 -05:00
  • bd3a39ad4a Fix comment typo. Dave Collins 2013-10-03 11:10:26 -05:00
  • 2b56e7a397 Don't need the blockpeermutex anymore. Owain G. Ainsworth 2013-10-03 16:13:47 +01:00
  • b06aa1672a Initial implementation of IsCurrent func. Dave Collins 2013-09-23 08:20:54 -05:00
  • 9abf071308 increase default pagesize to 4096 on sqlite David Hill 2013-10-03 10:32:19 -04:00
  • c1b327c06a Make the signal handling concurrent safe. Dave Collins 2013-10-03 09:28:18 -05:00
  • 35c95f0a36 Handle case where no auth is sent to rpcserver. John C. Vernaleo 2013-10-03 08:12:18 -04:00
  • fd0679acdd Update notification for recent btcchain API change. Dave Collins 2013-10-02 21:21:52 -05:00
  • 667eaa1562 Move to a callback for notifications. Dave Collins 2013-10-02 21:16:38 -05:00
  • 29dfa22086 Introduce a Stringer on peers. Dave Collins 2013-10-02 20:05:10 -05:00
  • f1e2de4f0c Go fmt. Dave Collins 2013-10-02 19:44:07 -05:00
  • 52701d826d Add directionality back to remove peer log too. Dave Collins 2013-10-02 19:43:38 -05:00
  • 13a8a8e7e3 use directionString() instead of handrollong. Owain G. Ainsworth 2013-10-03 01:39:31 +01:00
  • 2dcd003722 Print if a peer is inbound or outbound. Owain G. Ainsworth 2013-10-03 01:21:30 +01:00
  • eb667fdf83 Remove races on chain. Owain G. Ainsworth 2013-10-03 00:50:36 +01:00
  • 8974e789f7 Convert the rest of the subsystems to use atomics for shutdown vars. Owain G. Ainsworth 2013-10-03 00:33:42 +01:00
  • 63f8993163 Delete testing operations from obsolete functions. Dale Rahn 2013-10-02 18:10:00 -04:00
  • f333cb4220 Remove a (largely harmless) race on p.conn Owain G. Ainsworth 2013-10-02 23:06:29 +01:00
  • 5c1340be8f make logging about peers rather quieter. Owain G. Ainsworth 2013-10-02 22:49:31 +01:00
  • 0cf8601169 add tests for RFC*, Local, Valid, and Routable. David Hill 2013-10-02 17:34:25 -04:00
  • 6f9aada482 RFC4193 is fc00::/7, not fc00::/15. Also fix two typos in RFC4843() and RFC6052 David Hill 2013-10-02 17:31:44 -04:00
  • 8d1db93c82 Remove unused interfaces. Dale Rahn 2013-10-02 16:12:02 -04:00
  • 71ea6700a2 Hold amgr lock in {load,save}Peers. Owain G. Ainsworth 2013-10-02 20:27:08 +01:00
  • 70f15f434f Return nil in GetAddress if no addresses present. Owain G. Ainsworth 2013-10-02 20:18:13 +01:00
  • ad12d10503 Remove unused wakeup timer in peerHandler. Dave Collins 2013-10-02 13:52:44 -05:00
  • e54fb96d80 Test tx lookup validity in CheckInputTransactions. Dave Collins 2013-10-02 10:26:44 -05:00
  • 7d24f31fbd lack of a peers.json isn't an error, don't log in that case. Owain G. Ainsworth 2013-10-02 15:25:43 +01:00
  • 4455e77dde Don't create additional outbound peers if any --connect are specified. Owain G. Ainsworth 2013-10-02 15:16:04 +01:00
  • 98109dbadd Fix shutdown hangs. Owain G. Ainsworth 2013-10-02 01:45:21 +01:00
  • 7eb1a5ce4e Disconnect misbehaving peers who send unsolicited blocks. Owain G. Ainsworth 2013-10-01 21:32:50 +01:00
  • 030c610211 Revert "Comment multi-peer connect while code is under dev." Owain G. Ainsworth 2013-09-17 20:01:22 +01:00
  • 65725189db Keep track of currently requested blocks per peer. Owain G. Ainsworth 2013-09-30 23:53:21 +01:00
  • ca7cb8c875 move the intiial chain cache generation into bm. Owain G. Ainsworth 2013-09-30 23:43:14 +01:00
  • 850420055f Bucketizing for addrmanager Owain G. Ainsworth 2013-09-17 17:24:15 +01:00
  • d9214030e0 Don't propagate inv messages to connecting peers. Owain G. Ainsworth 2013-09-17 23:39:49 +01:00
  • 989e7a9c48 Make error logging in peer.go unique. Owain G. Ainsworth 2013-09-17 23:39:22 +01:00
  • 73f08e72a2 Add basic http auth to rpc server. John C. Vernaleo 2013-10-01 16:43:45 -04:00
  • dc9618c9ab Add a Error() to the Error struct. John C. Vernaleo 2013-09-30 17:13:19 -04:00
  • a5f81fc545 Add PayToPubKeyHashScript and SignatureScript functions. Josh Rickmar 2013-09-10 11:39:29 -04:00
  • e748650cc8 Use uncapitalized error strings Josh Rickmar 2013-09-30 18:20:46 -04:00
  • 961636c764 Add functions to serialize an ecdsa public key. Josh Rickmar 2013-09-10 23:14:30 -04:00
  • b04b4c27ea Update the TODO section of README.md to latest. Dave Collins 2013-09-30 17:00:23 -05:00
  • 29ed09cc98 Add IsPushOnlyScript. Dave Collins 2013-09-26 20:34:25 -05:00
  • 5efc3ea23f Remove a couple of outdated comments. Dave Collins 2013-09-30 16:50:10 -05:00
  • baa4c36618 Export ValdiateTransactionScript function. Dave Collins 2013-09-30 16:47:37 -05:00
  • 3c7511a34b Export the CheckTransactionInputs function. Dave Collins 2013-09-30 16:44:01 -05:00