Neil Booth
b65bcda504
Add per-session bandwidth limits
8 years ago
Neil Booth
c9a10be5ba
Introduce incoming buffer size limit
- incoming buffered network requests limited to 150,000 bytes
which I believe is ample for a genuine client
- if exceeded, the connection is dropped
- raise outgoing data limit for RPC connections to 5 MB - expect
sessions calls can be long and connection is implicitly trusted
- similarly raise incoming buffered data limit to 5 MB for RPC
connections
8 years ago
Neil Booth
c6d8440b3d
Remove all RocksDB references on close
8 years ago
Neil Booth
5053101cee
LOG_SESSIONS should use self.integer
8 years ago
Neil Booth
bc56eb4133
Merge branch 'release-0.7.13' into develop
8 years ago
Neil Booth
096b8483c6
Merge branch 'release-0.7.13'
8 years ago
Neil Booth
6713373aa2
Prepare 0.7.13
8 years ago
Neil Booth
22c1bbcf03
Merge branch 'log_sessions' into develop
8 years ago
Neil Booth
c08ade5861
Add session logging facility
Move session logging code to protocol.py from electrum_rpc.py
Use it for periodic logging controlled by envvar LOG_SESSIONS
For each session, track sent transaction stats and show that
per-session instead of errors
8 years ago
Neil Booth
c6be118bab
Tweak Litecoin settings
8 years ago
Neil Booth
a4989bc235
Merge branch 'santzi-master' into develop
8 years ago
Neil Booth
07b1e9672e
Merge branch 'master' of https://github.com/santzi/electrumx into santzi-master
8 years ago
Johann Bauer
e9e7ff16ad
Add tests for `close`.
8 years ago
Santzi
f1911140ef
Updated Litecoin mainnet parameters
8 years ago
Neil Booth
e1a321398f
Merge branch 'release-0.7.12' into develop
8 years ago
Neil Booth
c34c3f493d
Merge branch 'release-0.7.12'
8 years ago
Neil Booth
98c4ce3fef
Prepare 0.7.12
8 years ago
Neil Booth
b2032b0a66
Fix 2 JSON RPC issues
8 years ago
Neil Booth
b8fc739590
Fix ordering in get_utxos
8 years ago
Neil Booth
f9cc21807f
Further optimize the inner loop
8 years ago
Neil Booth
5c0b026158
Tasks queue just has null entries for now
8 years ago
Neil Booth
6aef79461f
Don't shut down block processor by cancellation
The block processor needs to be able to close cleanly, and not
mid-block. In order to be able to yield whilst processing blocks
we cannot forcefully close its coroutine with a cancellation.
8 years ago
Neil Booth
1b95bcd8ac
Open DB differently depending on if syncing
If syncing, use a high max_open_files, otherwise lower it.
8 years ago
Neil Booth
0afddb7bc3
Give backing up its own flush function
Remove some excessive log messages
8 years ago
Neil Booth
f5384ccc98
Remove get_tx_hash
Anything in the DB should be on the disk. Remove misleading
comment.
8 years ago
Neil Booth
37a84f7fe3
Merge branch 'release-0.7.11' into develop
8 years ago
Neil Booth
812509ab08
Merge branch 'release-0.7.11'
8 years ago
Neil Booth
4fc5e309ab
Prepare 0.7.11
8 years ago
Neil Booth
9eb701f220
Replace $VERSION in the banner file
with the ElectrumX version string
8 years ago
Neil Booth
1aaed2e913
Create just one server connection
I hope this
Fixes #47
8 years ago
Neil Booth
3f743e9630
Distinguish undo_info being empty and not existing
Fixes #46
8 years ago
Neil Booth
af3ae6429e
Fix logging bug
8 years ago
Neil Booth
4e26e0fe96
Bump default value of MAX_SEND to 1m bytes.
Otherwise historic large txs could not be served to clients.
8 years ago
Neil Booth
95a2de6dae
Move DB undo code to db.py
8 years ago
Neil Booth
a5fb9618d6
Merge branch 'clean_db' into develop
8 years ago
Neil Booth
8d253c81d3
Move clean_db() to db.py
8 years ago
Neil Booth
db5d0dd6cb
Merge branch 'serve_disk_only' into develop
8 years ago
Neil Booth
c4e2aa1543
Merge branch 'touched' into develop
8 years ago
Neil Booth
59244cc24e
Move bulk of FS flush code to db.py
More logically belongs there.
Have servers use the flushed DB height not the block processor's height.
Get all headers only from disk.
8 years ago
Neil Booth
df3cb8535a
Cleaner handling of touched addresses
Moved to local vars rather than an instance variable
8 years ago
Neil Booth
b97496d4a5
Set max_open_files for LevelDB to 256
On Linux it seems a bit greedy
8 years ago
Neil Booth
9157618089
Tweak ENV-NOTES
8 years ago
Neil Booth
81ee6d69ed
Merge branch 'release-0.7.10' into develop
8 years ago
Neil Booth
1c3c8f61e3
Merge branch 'release-0.7.10'
8 years ago
Neil Booth
9544170c55
Prepare release-0.7.10
8 years ago
Neil Booth
292073f2c7
Log large requests and reject them
8 years ago
Neil Booth
59733e4609
Move bitcoin-specific coin defaults to Bitcoin
8 years ago
Neil Booth
198fe298b7
Bump timeout to 15s. Show timeout if timed out.
8 years ago
Neil
ffd9c65e7d
Merge pull request #45 from thelazier/header_hash
fs_block_hashes need correct header_hash from coin
8 years ago
TheLazieR Yip
f3ecfe00e2
Remove unused variables
8 years ago