constants.py 924 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
"""
Copyright  2016-2019 Maël Azimi <m.a@moul.re>

Silkaj is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Silkaj is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with Silkaj. If not, see <https://www.gnu.org/licenses/>.
"""

18
SILKAJ_VERSION = "0.6.0"
19
NO_MATCHING_ID = "No matching identity"
Moul's avatar
Moul committed
20 21
G1_SYMBOL = "Ğ1"
GTEST_SYMBOL = "ĞTest"
22
G1_DEFAULT_ENDPOINT = "g1.duniter.org", "443"
23
G1_TEST_DEFAULT_ENDPOINT = "g1-test.duniter.org", "443"
24
CONNECTION_TIMEOUT = 10
25
SOURCES_PER_TX = 40