Commit graph

186 commits

Author SHA1 Message Date
Abit
df787c9062 Fix latency check error 2017-06-05 00:32:44 +02:00
BhuzOr
83f9e46668 Validate block timestamps
Reject blocks with timestamp too far in the future
Backport from BitShares: https://github.com/bitshares/bitshares-core/pull/17
2017-06-04 15:16:49 +02:00
Abit
1ce4d36532 Check block latency after logging. 2017-06-04 01:47:02 +02:00
kstdl
342e6db610 inital 2017-05-25 12:13:59 +03:00
SahkanDesertHawk
68247a9ec9 Update application.cpp 2017-05-21 18:34:19 -10:00
Vikram Rajkumar
f13698370b Clean up replay logic; resolve #175 2017-05-21 18:40:54 -05:00
Vikram Rajkumar
aaf6c5e8f8 Merge remote-tracking branch 'cnx/587-bugfix-witness-reindex-logic' 2017-05-21 17:10:10 -05:00
Vikram Rajkumar
cda895abd6 Update seed node 2017-05-16 13:18:38 -05:00
Vikram Rajkumar
6e9c0adf5d Update seed nodes 2017-05-10 15:52:10 -05:00
Abit
27f2808520 Fix block_num != 0 syncing issue #273 2017-05-06 23:46:09 +02:00
Vikram Rajkumar
9bbbefd391 Update fc submodule 2017-03-18 11:52:06 -05:00
Thomas Freedman
15066260f2 Updated definition of Thom seed nodes 2017-03-17 16:02:11 -05:00
Vikram Rajkumar
8ae1f6b3a5 Remove NTP time 2017-03-16 12:53:52 -05:00
Vikram Rajkumar
c149a5b9b1 Update seed nodes 2017-03-01 17:12:04 -06:00
lafona
81039c0b8e adds seednode run by lafona 2017-02-28 08:24:54 -05:00
elmato
77645d889f Auto login on every ws/rpc connection. Use HTTP Authorization header information if present 2017-01-27 07:42:58 +00:00
Vikram Rajkumar
f270b65597 Revert "Add a command-line option to witness_node, --disable-permessage-deflate"
This reverts commit c39f97885d.
2017-01-12 17:47:44 -06:00
Vikram Rajkumar
64e27bde93 Fix build 2016-11-17 15:56:11 -06:00
Vikram Rajkumar
75f238d15f Remove unreachable seed nodes 2016-11-17 15:37:32 -06:00
Roman Olearski
7f36b261bf Merge remote-tracking branch 'origin/dividends' into rock-paper-scissors
Adding new chain parameters
Distribute prize money when a tournament ends
2016-11-02 15:30:18 +01:00
abitmore
82cf1a10af Merge branch 'patch-2' of https://github.com/iPerky/muse into iPerky-patch-2
Conflicts:
	libraries/app/application.cpp
2016-10-14 00:13:23 +08:00
iHashFury
4d0d3fb313 Update application.cpp
remove old seed node
2016-10-10 20:14:27 +02:00
roelandp
4251d40ab8 Added my public seed node for bitshares2
Type: Dedicated
Processor: Intel Xeon D-1521
Ram: 32 GB DDR4
HDD: 2 x 2 TB
Connection: 1 Gbit/s
Location: Canada

Next to my Steem Witness, I thought it would be nice to strenghten the BTS network. At first with a public seed, later with a witness application I think. See https://steemit.com/witness-category/@roelandp/witness-roelandp if you want to learn more about me and my witness.
2016-10-10 16:51:32 +02:00
Eric Frias
baab40070d Many changes, including a start to supporting peerplays games in the cli wallet 2016-10-03 12:14:48 -04:00
abitmore
0ad83697f0 Catch DNS exceptions (rework - part 2). #618 2016-09-15 17:11:22 +08:00
abitmore
39a5805491 Catch DNS exceptions (rework - part 1). #618 2016-09-15 17:09:03 +08:00
Fabian Schuh
a2fa90bd7d Merge pull request #17 from abitmore/fix-645-block-timestamp
Reject blocks with timestamp too far in the future
2016-08-02 08:56:12 +02:00
abitmore
2cf8fb62c9 application.cpp: Validate block timestamps #645 2016-07-30 05:39:41 +08:00
Nicolas Wack
ade25492e4 Added wackou's seed to default seed nodes 2016-05-06 19:57:01 +02:00
Fabian Schuh
f762036741 Merge pull request #14 from abitmore/patch-5
Update abit's seed node
2016-05-04 17:22:23 +02:00
iHashFury
d976400912 Update seed nodes 2016-05-04 16:21:41 +02:00
abitmore
fcddafb82d Update abit's seed node 2016-04-18 09:54:48 +02:00
theoreticalbts
4dbfe53f1f Merge remote-tracking branch 'graphene/develop' into bitshares 2016-03-16 01:09:52 -04:00
Eric Frias
36164263f4 Make websocket compression disabled by default, since it causes problems in Chrome.
Change the command line option to --enable-permessage-deflate to override. #619
2016-03-14 18:27:28 -04:00
abitmore
8c4ce14457 Update abit's seed node; Remove alt's seed node 2016-03-12 10:32:39 +01:00
Eric Frias
c39f97885d Add a command-line option to witness_node, --disable-permessage-deflate
to prevent the websocket server from allowing compression on clients
that support it. #619
2016-03-11 14:49:43 -05:00
Eric Frias
b175cc7feb Revert "Merge branch 'graphene_master' into bitshares"
This reverts commit 2d0a7a2a4d, reversing
changes made to 6684fb75ac.
2016-03-11 14:19:31 -05:00
Eric Frias
2d0a7a2a4d Merge branch 'graphene_master' into bitshares 2016-03-11 11:40:48 -05:00
Eric Frias
403d3001f6 Add a command-line option to witness_node, --disable-permessage-deflate
to prevent the websocket server from allowing compression on clients
that support it. #619
2016-03-10 17:33:14 -05:00
Fabian Schuh
57e1f5f181 Merge pull request #8 from abitmore/abitmore-patch-1-seednode
Add harvey's seed node
2016-03-08 08:54:23 +01:00
Fabian Schuh
6885f215a4 Merge pull request #7 from btscube/bitshares
Update bitcube's seed node address
2016-03-08 08:54:10 +01:00
theoreticalbts
62a414ac85 application.cpp: Cleanup re-indexing logic #587 DOES NOT COMPILE 2016-02-23 10:48:07 -05:00
theoreticalbts
4f9bf7cc21 Merge remote-tracking branch 'graphene/develop' into bitshares at commit 1153d77dba
Conflicts:
	libraries/chain/include/graphene/chain/config.hpp
2016-02-16 11:32:14 -05:00
theoreticalbts
d6863a587c Merge branch graphene/develop into bitshares at commit '447018b319668deddf4d55baac168c1afc0a5e21'
Conflicts:
	libraries/chain/include/graphene/chain/hardfork.hpp
	libraries/fc
2016-02-16 11:16:36 -05:00
theoreticalbts
42140fccaa Merge branch graphene/develop into bitshares at commit 'f1b19b15' 2016-02-16 11:04:31 -05:00
theoreticalbts
078e63a79f Merge many bugfix branches into develop
Merged:

492-bugfix-open-fail #492
523-bugfix-multiple-blind-xfer #523
537-cleanup-remove-operation_get_required_authorities #537
540-cleanup-settle-volume-spam #540
542-bugfix-cancel-fee #542
557-bugfix-pts-address #557
559-test-fix-zero-block-wait #559
561-bugfix-serializer-build-broken #561
562-bugfix-unreflected-fields #562
2016-02-09 10:57:21 -05:00
abitmore
d6db289717 Add alt's seed node 2016-01-13 10:30:33 +01:00
abitmore
65f7c1ca62 Remove the extra comma from seed node list 2016-01-12 23:04:27 +01:00
abitmore
16b34f66be Add harvey's seed node 2016-01-12 22:48:21 +01:00
Michael Vandeberg
fd09669be3 Merge branch '500-crypto-api' into develop
Closes cryptonomex/graphene#500
2016-01-07 17:24:13 -05:00
Michael Vandeberg
8df58439b1 Opens up cryptographic methods in their own API with serialized wrappers for public and private keys.
Tests for serialization of the wrappers added in serialization_tests.
2016-01-07 17:17:27 -05:00
Fabian Schuh
5111084730 [License] Modify cpp and hpp headers to MIT #496 2016-01-07 11:44:52 -05:00
root
33728e3e6a Update bitcube's seed node address 2016-01-05 16:18:17 +08:00
theoreticalbts
3af94b7878 application.cpp: Handle exception in open() by re-indexing #492 2016-01-04 10:38:59 -05:00
Daniel Larimer
16b59e0b42 adding seed node 2016-01-03 22:10:56 -05:00
emfrias
ec876f3def update blocktrades seed node DNS address 2015-12-04 15:24:46 -05:00
Daniel Larimer
3bc8832dde Merge branch 'master' into bitshares 2015-10-21 08:54:53 -04:00
Daniel Larimer
af589b2287 cleanly handle db upgrade 2015-10-19 16:48:14 -04:00
Daniel Larimer
15e4464300 Merge branch 'master' into bitshares 2015-10-14 14:50:38 -04:00
theoreticalbts
fc95e83732 Merge remote-tracking branch 'graphene/master' into master 2015-10-14 14:41:59 -04:00
Daniel Larimer
29cc90ba99 Fix build 2015-10-13 13:32:58 -04:00
Daniel Larimer
5dbe57c3ff Fix build 2015-10-13 10:34:48 -04:00
theoreticalbts
e410df78c0 Initialize hash when using egenesis 2015-10-13 10:31:49 -04:00
theoreticalbts
3706c88a0b Initialize hash when using egenesis 2015-10-13 10:30:51 -04:00
Daniel Larimer
283de52f38 don't connect to all seeds 2015-10-12 15:16:29 -04:00
Daniel Larimer
63bd27e7d2 adding initial seed nodes 2015-10-12 15:15:46 -04:00
theoreticalbts
d0609e8e74 Update copyright notice for BitShares 2015-10-12 13:48:40 -04:00
theoreticalbts
60f0812de2 Update copyright notice 2015-10-12 13:32:47 -04:00
theoreticalbts
9ccbc55ba6 Implement chain_id #374 2015-10-12 13:32:47 -04:00
Daniel Larimer
a61c23fa6a reduce trx spam messages 2015-10-12 12:06:26 -04:00
Daniel Larimer
f7c91be622 fix market history 2015-10-09 16:31:40 -04:00
Daniel Larimer
efd5e96192 clean up shutdown 2015-10-09 15:05:14 -04:00
theoreticalbts
17aac27bec application.cpp: Implement --force-validate command line option 2015-10-08 15:26:13 -04:00
Daniel Larimer
8e96d9c89c clean up print statements, minimize undo/fork history 2015-10-07 10:15:32 -04:00
Daniel Larimer
edcd46dd14 fix reindex with failed proposed transaction 2015-09-29 10:49:12 -04:00
Eric Frias
5bfbe0df86 When a we're in normal (in-sync) mode and we get a block that doesn't link to the chain, restart sync with that peer to try to get the missing block 2015-09-21 16:15:51 -04:00
Daniel Larimer
26007bb655 update shuffling algorithm 2015-09-18 13:42:12 -04:00
Daniel Larimer
465280fbcb Improved Logging, track blocks missed by witnesses 2015-09-18 09:13:17 -04:00
Eric Frias
1177cfe0ed Reverse direction of fork history used in block syncing 2015-09-15 09:19:39 -04:00
Daniel Larimer
f506c2b089 better debugging messages around crashes 2015-09-15 08:38:27 -04:00
Eric Frias
30ae8e4f34 Remove debugging code 2015-09-11 19:27:31 -04:00
Daniel Larimer
1202c0258d Merge branch 'p2p_sync_fixes' 2015-09-11 17:57:11 -04:00
Daniel Larimer
127ac7f3de add api to query worker state 2015-09-11 17:47:27 -04:00
Eric Frias
76a36a67ac Fix race condition that happens when we're pushing sync blocks faster than get_synopsis calls are getting through to the main thread 2015-09-11 17:33:20 -04:00
Eric Frias
e9e3b0d679 Fix an instance where we were reporting that the peer was on an unreachable blockchain when they really weren't 2015-09-11 16:15:05 -04:00
Eric Frias
0046cc0698 Fix error messages generated when peer is syncing with empty blockchain 2015-09-11 15:26:55 -04:00
Eric Frias
8e9bd890a8 Fix bugs, improve logging in p2p sync 2015-09-10 19:33:11 -04:00
Eric Frias
928b6934e0 Merge branch 'master' into p2p_sync_fixes
Conflicts:
	libraries/chain/include/graphene/chain/database.hpp
2015-09-10 17:34:20 -04:00
Daniel Larimer
85fd62ae29 Merge branch 'master' of github.com:cryptonomex/graphene 2015-09-10 09:48:13 -04:00
Daniel Larimer
af79de03c4 remove spam 2015-09-10 09:47:26 -04:00
Eric Frias
b6bba74301 Restore much of the syncing code from BitShares 0.x, and add optimizations that prevent us from attempting to sync with peers those blockchain diverged from ours many blocks ago, which also reduces the size of sync messages. Add logging. 2015-09-10 08:56:29 -04:00
theoreticalbts
b8b2bcf97e Implement --dbg-init-key command line option to take control of init witnesses for debugging #307 2015-09-09 17:54:30 -04:00
Daniel Larimer
9080800c5b Updated APIs, fixed crash
- update fc to fix crash in websocket message handling
- added api to verify transactions without broadcasting them
- added api to broadcast a block produced outside the P2P network or
witness
2015-09-07 17:46:47 -04:00
theoreticalbts
025130b096 application.cpp: Fix --api-access option name 2015-09-02 14:57:02 -04:00
theoreticalbts
c14494fb68 time: Make timer use fc::time_point instead of fc::time_point_sec so witness plugin can control quantization 2015-08-31 17:26:03 -04:00
theoreticalbts
9b4e270bc4 witness_node: Implement --genesis-timestamp command line parameter 2015-08-31 17:26:03 -04:00
theoreticalbts
f63cbe4868 application.cpp: Fix compiler warning 2015-08-31 17:26:03 -04:00
Eric Frias
cb3c23a17b Avoid referencing uninitialized memory 2015-08-24 19:35:56 -04:00
Eric Frias
c0b9af9a99 Greatly reduce the amount of time the p2p network code will wait for a peer to
return a requested block/transaction.  Make this time dependent on the actual block
interval.  This should allow the the node to give up and request the block from
another peer before the ~30 second undo interval has passed.
Fix the merkle root calculation to avoid reading
past the end of a vector.  Modify the algorithm to do what was likely intended
(this modification is currently disabled because it will yield different results
than the currently-running testnet)
Fix windows build errors.
2015-08-24 09:57:47 -04:00
Nathan Hourt
3a9d0df75c [FWN] Create privileged API login for web UI
This resolves #249
2015-08-19 11:40:31 -04:00