mirror of
https://github.com/markqvist/NomadNet.git
synced 2026-12-02 21:00:04 -05:00
Activated stamp enforcement
This commit is contained in:
parent
c9dbc11d9d
commit
8404ce521e
3 changed files with 6 additions and 13 deletions
|
|
@ -1385,11 +1385,11 @@ lxmf_sync_limit = 8
|
|||
# stamp in their messages. Performing this
|
||||
# operation takes the sender an amount of time
|
||||
# proportional to the stamp cost. As a rough
|
||||
# estimate, a stamp cost of 8 will take less
|
||||
# estimate, a stamp cost of 18 will take less
|
||||
# than a second to compute, and a stamp cost
|
||||
# of 20 could take several minutes, even on
|
||||
# of 30 could take several minutes, even on
|
||||
# a fast computer.
|
||||
required_stamp_cost = None
|
||||
required_stamp_cost = 20
|
||||
|
||||
# You can signal stamp requirements to senders,
|
||||
# but still accept messages with invalid stamps
|
||||
|
|
@ -1585,13 +1585,6 @@ disable_propagation = Yes
|
|||
# to deliver the message to the propagation
|
||||
# node.
|
||||
#
|
||||
# Propagation stamps are easier to verify in
|
||||
# large batches, and therefore also somewhat
|
||||
# easier to compute for the senders. As such,
|
||||
# a reasonable propagation stamp cost should
|
||||
# be a bit higher than the normal peer-to-peer
|
||||
# stamp costs.
|
||||
#
|
||||
# Propagation stamps does not incur any extra
|
||||
# load for propagation nodes processing them,
|
||||
# since they are only required to verify that
|
||||
|
|
@ -1602,7 +1595,7 @@ disable_propagation = Yes
|
|||
# keep spam and misuse out of the propagation
|
||||
# node network.
|
||||
|
||||
propagation_cost = 16
|
||||
propagation_cost = 23
|
||||
|
||||
# The maximum amount of storage to use for
|
||||
# the LXMF Propagation Node message store,
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
__version__ = "1.5.1"
|
||||
__version__ = "1.5.2"
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -36,6 +36,6 @@ setuptools.setup(
|
|||
entry_points= {
|
||||
'console_scripts': ['nomadnet=nomadnet.nomadnet:main']
|
||||
},
|
||||
install_requires=["rns>=1.6.1", "lxmf>=1.3.1", "urwid>=3.0.5", "qrcode"],
|
||||
install_requires=["rns>=1.6.2", "lxmf>=1.3.2", "urwid>=3.0.5", "qrcode"],
|
||||
python_requires=">=3.8",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue