Commit Graph
6914 Commits
Author SHA1 Message Date
wowario f897aa5dbf diff hotfix 2 2021-04-15 23:37:54 +03:00
wowario 5b162aea14 bump version 2021-04-15 20:45:03 +03:00
wowario 84674fd19d bump version 2021-04-15 00:30:32 +03:00
wowario f4cea65949 update checkpoints
Signed-off-by: wowario <wowario@protonmail.com>
2021-04-15 00:28:37 +03:00
wowario 2c07a2d5c7 sync 2021-04-14 23:41:00 +03:00
wowario a5f901b46f update checkpoints 2021-04-14 17:58:03 +03:00
wowario f65197d73e bumb version 2021-04-14 17:11:13 +03:00
wowario 963d748f34 Merge pull request 'hotfix' (#361) from wowario/wownero:wowario-patch-1 into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/361
2021-04-14 12:12:54 +00:00
wowario cfadfbd91a hotfix 2021-04-14 11:49:18 +00:00
jwinterm 0e65b21328 Merge pull request 'update readme and checkpoints [CI SKIP]' (#358) from wowario/wownero:checkpoint into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/358
2021-01-27 12:28:22 +00:00
jwinterm d886300416 Merge pull request 'upstream' (#357) from wowario/wownero:upstream into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/357
2021-01-27 12:27:59 +00:00
jwinterm c3e390d44d Merge pull request 'nudge time in approx_blockchain_height' (#356) from wowario/wownero:time into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/356
2021-01-27 12:27:36 +00:00
jwinterm f2f76de880 Merge pull request 'add more outputs to requested_outputs_count' (#355) from wowario/wownero:outputs into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/355
2021-01-27 12:27:14 +00:00
wowario 89f650cf52 update checkpoints.dat 2021-01-17 23:07:59 +03:00
wowario 6cfba57fb0 bump version 2021-01-17 22:55:54 +03:00
wowario d95ab4b9e3 nudge time in approx_blockchain_height 2021-01-17 16:11:11 +03:00
wowario 8fe9ce706c add more outputs to requested_outputs_count 2021-01-17 16:02:32 +03:00
moneromooo-moneroandwowario 9522d66815 p2p: only log to global when a blocked IP is not already blocked 2021-01-17 13:00:10 +03:00
Denis Goddardandwowario 7dff3540f0 Header row for peer list in sync_info 2021-01-17 12:59:45 +03:00
moneromooo-moneroandwowario 4679168a57 protocol: fix wrong command in logs
this is not a levin packet, this is just its payload
2021-01-17 12:59:34 +03:00
moneromooo-moneroandwowario f17b506d3d protocol: add calls to reserve where appropriate 2021-01-17 12:58:40 +03:00
moneromooo-moneroandwowario 2ec025d1a3 simplewallet: don't complain about connecting to the daemon when offline 2021-01-17 12:58:30 +03:00
moneromooo-moneroandwowario 1212e1791c rpc: report target height as 0 when synced
since it only makes sense when syncing, and it confuses people
2021-01-17 12:58:15 +03:00
Lee Clagettandwowario 9fc1c6dec5 Command max_bytes moved from dynamic map to static switch 2021-01-08 08:47:50 +03:00
moneromooo-moneroandwowario a0e757a104 protocol: handle receiving a block hash we've not added yet 2021-01-07 09:12:22 +03:00
moneromooo-moneroandwowario a27cf7b602 fix accessing an network address in a deleted context
Both drop_connection and add_host_fail can drop the connection,
which invalidates the context, and thus the address it contains.

Thanks to wfaressuissia[m] for lots of help and prodding when
debugging this
2021-01-04 09:46:37 +03:00
moneromooo-moneroandwowario f02e91ef83 add a max levin packet size by command type 2021-01-04 09:46:18 +03:00
moneromooo-moneroandwowario 22365207be blockchain: lock access to m_blocks_hash_of_hashes
it is accessed both when adding and when prevalidating a set
of new hashes from a peer
2021-01-04 09:43:28 +03:00
moneromooo-moneroandwowario 859a8752f4 protocol: remove unused (and cunningly uninitialized) field 2021-01-02 19:49:22 +03:00
wowario af3263c8ac bump version 2021-01-02 11:41:56 +03:00
wowario 9ef4a4ea7f update checkpoints 2021-01-02 11:40:09 +03:00
SChernykhandwowario 5de14c44ec Fixed issues found by static analysis
- rolling_median: tried to free uninitialized pointer in a constructor
- net_node.inl: erase-remove idiom was used incorrectly. remove_if doesn't actually remove elements, see http://cpp.sh/6fcjv
- bulletproofs.cc: call to sizeof() instead of vector.size(), luckily it only impacts performance and not code logic there
2021-01-02 11:02:20 +03:00
moneromooo-moneroandwowario b62d6648eb db_lmdb: move spammy "not found in db" message to TRACE
These are functions that check whether a tx is in the db, so whether
it is there or not is really not interesting, and it seems to scare
people from time to time
2021-01-02 11:02:08 +03:00
codesoapandwowario 3e36df73ac simplewallet: add "address mnew" command 2021-01-02 11:01:57 +03:00
moneromooo-moneroandwowario c44dbc582f protocol: more sanity checks in new chain block hashes 2021-01-02 10:59:08 +03:00
moneromoooandwowario 31dc71afaf p2p: fix deadlock banning while updating peer lists 2021-01-02 10:58:43 +03:00
moneromooo-moneroandwowario 45a462eb91 protocol: don't reset last request time on an idle timer
this prevents losing time of "idle time" for a peer, which could
otherwise be reset by another timed sync command from the peer
2021-01-02 10:58:33 +03:00
Lee Clagettandwowario b4206cea5a Add aggressive restrictions to pre-handshake p2p buffer limit 2021-01-02 10:57:50 +03:00
moneromooo-moneroandwowario 03b8228b35 rpc: limit the number of txes for get_blocks.bin 2021-01-02 10:57:12 +03:00
moneromooo-moneroandwowario b56a9f5bad protocol: fix false positives dropping peers
it'd trigger on reorgs
2021-01-02 10:56:20 +03:00
moneromooo-moneroandwowario 50e25e681c cryptonote_basic: guess what got lost porting patches to branches again 2021-01-02 10:55:54 +03:00
luigi1111andwowario 4efba60bc1 Revert "Reject existing claimed blocks in sync mode" 2021-01-02 10:55:41 +03:00
moneromooo-moneroandwowario 0afd50384f protocol: drop nodes if they claim new data but only give stale data
Some joker is spending time actually doing this
2021-01-02 10:55:13 +03:00
moneromooo-moneroandwowario 9e4e28b25c ban lists may now include subnets 2021-01-02 10:54:58 +03:00
moneromooo-moneroandwowario 295d46a1fc restrict public node checks a little
do not include blocked hosts in peer lists or public node lists by default,
warn about no https on clearnet and about untrusted peers likely being spies
2021-01-02 10:54:46 +03:00
xiphonandwowario 10f9008b9c rpc: get_info - add 'synchronized' field 2021-01-02 10:54:34 +03:00
moneromooo-moneroandwowario b042506baa protocol: reject claimed block hashes that already are in the chain 2021-01-02 10:54:23 +03:00
moneromooo-moneroandwowario 879715610d protocol: drop peers we can't download anything from in sync mode
instead of the (incorrect) check for whether we think we might have
a user for it at some point in the near future. We can reconnect.
2021-01-02 10:54:15 +03:00
moneromooo-moneroandwowario 819d40fc7e p2p: remove peers from grey and anchors lists when blocked 2021-01-02 10:53:32 +03:00
moneromooo-moneroandwowario a88448499b Optional DNS based blocklist
If enabled, pulls IPs to block on blocklist.moneropulse.*, and
blocks then for 8 days (so IPs dropping from the list will
eventually get unblocked, and DNS failures don't result in
instant clearing of the blocklist).

Enable with --enable-dns-blocklist
2021-01-02 10:53:22 +03:00