Commit graph

244 commits

Author SHA1 Message Date
Daniel Larimer
da254cdbff Fix #158 - block summary database now only has 2^16 entries 2015-07-14 17:56:42 -04:00
Daniel Larimer
d1c3c7a698 Issue #157 - TAPOS Refinements
1. Implement a TaPoS assert operation predicate that offers full block ID
validation for transactions that want the added security. This is only
required for transactions that are of high value and transfer control of
funds to a newly created identifier and where the witnesses cannot be
trusted.

2. Remove the full block ID from the transaction digest generation.
2015-07-14 17:28:26 -04:00
Daniel Larimer
98e761c9c2 Merge branch 'master' of github.com:cryptonomex/graphene 2015-07-13 17:24:29 -04:00
theoreticalbts
c019f18bd4 Implement recent_slots_filled and use it to measure witness participation 2015-07-13 17:02:00 -04:00
theoreticalbts
78f0cfa5cc account_evaluator.cpp: Remove unused global_property_object 2015-07-13 16:48:16 -04:00
Daniel Larimer
0beeac94aa Merge branch 'master' of github.com:cryptonomex/graphene 2015-07-13 16:23:22 -04:00
Daniel Larimer
8faec763c8 Names must now be unique. 2015-07-13 16:23:12 -04:00
Vikram Rajkumar
2f429e07f1 Rename bad references to delegate -> committee member; #147 2015-07-13 16:08:17 -04:00
Vikram Rajkumar
6043586d15 Rename bad references to delegate -> witness; #147 2015-07-13 16:08:17 -04:00
Vikram Rajkumar
70b77be3bc Rename bad references to genesis account -> committee account; #147 2015-07-13 16:08:16 -04:00
theoreticalbts
e201e59b3d Define GRAPHENE_MIN_BLOCK_INTERVAL and use it to fix minimum_time_of_last_offered_block logic #154 2015-07-13 12:33:52 -04:00
Daniel Larimer
a05d88b044 Fix #151 - Witnesses do not produce consecutively
- added an option (on by default) to prevent a witness from signing two
 blocks in a row because this most likely indicates they have been cut
 off from the network.

 - added an option where a witness will not produce a block if the
 witness participation rate is below a configurable threshold (default
                                                               to 33%)
2015-07-13 09:47:03 -04:00
Daniel Larimer
068e579a5f Update error message for #156
Made the error more human friendly.
2015-07-13 08:23:51 -04:00
Daniel Larimer
e8d2b45d67 improve authority checking performance, adding automatic transaction signing helpers 2015-07-10 15:56:44 -04:00
Daniel Larimer
c0da987b02 This file is no longer needed! 2015-07-10 14:08:31 -04:00
Eric Frias
8245b18c98 Win32 compile fixes 2015-07-10 11:55:12 -04:00
Daniel Larimer
49937daeb8 Rename delegate_signature->witness_signature #147
- changed secret hash of block headers from 224 to 160 to save 16 bytes
per header which will add up to 1 MB per day in savings.
2015-07-09 18:11:52 -04:00
Daniel Larimer
a799f064d4 Adding extension points #141 2015-07-09 17:29:30 -04:00
Daniel Larimer
04b8820b3b Merge branch 'master' into fee_refactor 2015-07-09 16:34:56 -04:00
Daniel Larimer
10bd652168 fix uia_transfer test, update transfer error messages 2015-07-09 16:21:40 -04:00
Daniel Larimer
014e6e7b79 fix uia_fees test 2015-07-09 16:05:57 -04:00
Daniel Larimer
9e150df605 Fix withdraw_witness_pay test 2015-07-09 15:55:10 -04:00
Daniel Larimer
48797c6e93 updating error messages 2015-07-09 15:40:19 -04:00
Daniel Larimer
1fbdbc50e0 fix balance claim authority requirements 2015-07-09 15:28:39 -04:00
Daniel Larimer
a164fbe8fa fix proposal authority 2015-07-09 15:14:44 -04:00
theoreticalbts
a41384d4b1 asset_ops.hpp: Change bitasset_options member name to bitasset_opts to fix gcc compile 2015-07-09 14:52:22 -04:00
theoreticalbts
6899202892 config.hpp: Fix warning 2015-07-09 14:52:22 -04:00
Daniel Larimer
c49fbd87e7 adding checkpoints #121 to database 2015-07-09 14:09:21 -04:00
theoreticalbts
ae7b904e4a Clean up some unused files 2015-07-09 11:59:06 -04:00
Daniel Larimer
9699be84e6 Progress on #144 2015-07-09 11:40:37 -04:00
Daniel Larimer
c8f200868c fix zero all fees #144 2015-07-09 10:15:53 -04:00
Daniel Larimer
c8f0ea4abe It now builds #144 2015-07-09 09:56:50 -04:00
Eric Frias
5dea2825b5 Win32 compile fixes 2015-07-09 09:51:15 -04:00
Daniel Larimer
786c65d4b4 Merge branch 'master' into fee_refactor 2015-07-09 08:43:45 -04:00
Daniel Larimer
fdcf821c41 Progress on #144 - refactoring fee schedule 2015-07-08 18:45:53 -04:00
Vikram Rajkumar
629d884b84 Share some private keys for testnet balances 2015-07-08 18:10:38 -04:00
Vikram Rajkumar
1023ddee92 Fix genesis account memo key init; #17 2015-07-08 18:10:38 -04:00
Nathan Hourt
d64c9154a7 Progress #17: Lazy load genesis state
This speeds up startup for witness_node when starting on a database
which is already initialized.
2015-07-08 17:39:34 -04:00
theoreticalbts
9c4ac2e064 exceptions: Add some exceptions 2015-07-08 16:48:24 -04:00
Nathan Hourt
8d3fd20db2 Progress #17: Fix account key genesis initialization 2015-07-08 16:45:02 -04:00
Daniel Larimer
baf5531238 Refactored chain library
- remove circular dependency with fee_schedule
- unitiy build db_* as database.cpp
- move protocol definitions in separate directory
- combined some objects/evaluators
- combined limit/call evaluator/objects into market_evaluator.*
2015-07-08 16:39:23 -04:00
Nathan Hourt
6436f0142f Fix witness/delegate count voting; fix unclean witness shutdown on mac 2015-07-08 16:00:22 -04:00
theoreticalbts
2f9e636618 db_maint.cpp: Avoid implementation-defined ordering when votable objects tie for votes 2015-07-08 15:01:25 -04:00
Nathan Hourt
5a01e255e2 Progress #17: Fix genesis witness list 2015-07-08 14:55:51 -04:00
theoreticalbts
d4e4854eb6 exceptions: Implement missing_auth exceptions 2015-07-08 14:29:07 -04:00
theoreticalbts
8ff25b813f Begin implementation of new exception framework #113 2015-07-08 13:53:08 -04:00
theoreticalbts
7bb608a305 types.hpp: Remove parameter_extension as it breaks js_operation_serializer 2015-07-07 22:28:43 -04:00
Daniel Larimer
90e04d0290 Refactoring fee schedule to make things more flex
- this code does not compile, there are now circular references that
need to be resolved.
2015-07-07 18:46:27 -04:00
Nathan Hourt
3d60449c6e Progress #8: Test shorts and force settles 2015-07-07 17:39:45 -04:00
Vikram Rajkumar
9b5bd12c67 Add genesis_state_type::initial_timestamp; #17 2015-07-07 15:37:31 -04:00