src/main.cpp
Path: bitcoin/src/main.cpp
C++ Source File • 3,456 lines • Last modified: 2011-12-19
| Total Lines | 3,456 |
|---|---|
| Total Commits | 156 |
| Contributors | 12 |
Total Lines
3,456
|
Total Commits
156
|
Contributors
12
Code Preview
1 // Copyright (c) 2009-2010 Satoshi Nakamoto 2 // Copyright (c) 2009-2012 The Bitcoin developers 3 // Distributed under the MIT/X11 software license 4 5 #include "headers.h" 6 #include "checkpoints.h" 7 #include "db.h" 8 #include "net.h" 9 #include "init.h" 10 #include <boost/algorithm/string/replace.hpp> 11 #include <boost/filesystem.hpp> 12 #include <boost/filesystem/fstream.hpp> 13 14 using namespace std; 15 using namespace boost; 16 17 // Global state 18 CCriticalSection cs_setpwalletRegistered; 19 set<CWallet*> setpwalletRegistered; 20 21 CCriticalSection cs_main; 22 23 static map<uint256, CTransaction> mapTransactions; 24 CCriticalSection cs_mapTransactions; 25 unsigned int nTransactionsUpdated = 0;
Top Contributors to This File
| Contributor | Commits | Lines Changed |
|---|---|---|
| Satoshi Nakamoto | 89 | 2,145 |
| Gavin Andresen | 32 | 876 |
| Pieter Wuille | 18 | 543 |
| Jeff Garzik | 12 | 321 |
| Wladimir J. van der Laan | 5 | 156 |