aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaveljanik <Pavel@Janik.cz>2014-03-05 21:23:39 +0100
committerpaveljanik <Pavel@Janik.cz>2014-03-05 21:23:39 +0100
commit25ef6ace70897517fc1d65b1e438a59909bcf1de (patch)
treea604570820c35a392ea9baeef1cf7dbe29b87341
parentc975e99ca9bd60966fed3e1952055b1056f2cc99 (diff)
Update the list of threads to the current state.
-rw-r--r--doc/coding.md40
1 files changed, 20 insertions, 20 deletions
diff --git a/doc/coding.md b/doc/coding.md
index 3581d7deb2..ab3a73494a 100644
--- a/doc/coding.md
+++ b/doc/coding.md
@@ -63,32 +63,32 @@ and its cs_KeyStore lock for example).
-------
Threads
+- ThreadScriptCheck : Verifies block scripts.
+
+- ThreadImport : Loads blocks from blk*.dat files or bootstrap.dat.
+
- StartNode : Starts other threads.
-- ThreadGetMyExternalIP : Determines outside-the-firewall IP address, sends addr message to connected peers when it determines it.
+- ThreadGetMyExternalIP : Determines outside-the-firewall IP address, sends addr message to connected peers when it determines it.
+
+- ThreadDNSAddressSeed : Loads addresses of peers from the DNS.
+
+- ThreadMapPort : Universal plug-and-play startup/shutdown
- ThreadSocketHandler : Sends/Receives data from peers on port 8333.
-
-- ThreadMessageHandler : Higher-level message handling (sending and receiving).
-
+
+- ThreadOpenAddedConnections : Opens network connections to added nodes.
+
- ThreadOpenConnections : Initiates new connections to peers.
-- ThreadTopUpKeyPool : replenishes the keystore's keypool.
-
-- ThreadCleanWalletPassphrase : re-locks an encrypted wallet after user has unlocked it for a period of time.
-
-- SendingDialogStartTransfer : used by pay-via-ip-address code (obsolete)
-
-- ThreadDelayedRepaint : repaint the gui
+- ThreadMessageHandler : Higher-level message handling (sending and receiving).
+
+- DumpAddresses : Dumps IP addresses of nodes to peers.dat.
- ThreadFlushWalletDB : Close the wallet.dat file if it hasn't been used in 500ms.
-
+
- ThreadRPCServer : Remote procedure call handler, listens on port 8332 for connections and services them.
-
-- ThreadBitcoinMiner : Generates bitcoins
-
-- ThreadMapPort : Universal plug-and-play startup/shutdown
-
-- Shutdown : Does an orderly shutdown of everything
-
-- ExitTimeout : Windows-only, sleeps 5 seconds then exits application
+
+- BitcoinMiner : Generates bitcoins (if wallet is enabled).
+
+- Shutdown : Does an orderly shutdown of everything.