Fabian Schuh
a7b145002d
fix unit tests
2018-10-12 07:53:01 +02:00
Roman Olearski
90ec694446
integrating scheduled (old) and shuffled (current) witnesses
2017-04-19 20:31:00 +02:00
Eric Frias
9b101cefcf
Restore secret hashes from witnesses -- this is a selective restore of the parts of commits 59a3ca32b7 and c2e5432a30 that generated the secret hashes (it omits the changes to the witness scheduling algorithm)
2016-09-10 15:28:09 -04:00
Daniel Larimer
146c0c4d8e
Clean up some non-determisitic behavior, maybe fix #485
...
1. Replace ordered_non_unique indexes with composite keys / ordered_unique, using object_id as tiebreaker.
2. Make some casts more explicit.
This commit was rebased by theoreticalbts due to conflicts with the patches for #466 #562 including bugfixes
- Fix flipped comparison operator
- Implement operator> and operator!= for object_id_type
2016-02-11 13:02:11 -05:00
Fabian Schuh
5111084730
[License] Modify cpp and hpp headers to MIT #496
2016-01-07 11:44:52 -05: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
9b910ee1a4
HARDFORK Allow digits in asset name; fix #359
2015-10-08 15:26:13 -04:00
theoreticalbts
6c052294e1
Remove block randomness and rewrite witness scheduling
2015-08-26 15:36:27 -04:00
theoreticalbts
0bcfc69da2
Further improve Merkle root algorithm, implement unit test #266
...
This commit redefines the hash h of a node in the Merkle tree as:
h(unary_node) = unary_node
h(binary_node) = H(left_child + right_child)
Previous code in c0b9af9a99 defined hash as:
h(unary_node) = H(unary_node + digest_type())
h(binary_node) = H(left_child + right_child)
The improved definition in this commit saves some hash computations.
2015-08-26 15:36:05 -04:00
theoreticalbts
3eedabbac2
Compute scaled precision at compile time, use in tests (fixes failures by prev commit)
2015-08-11 15:04:48 -04:00
Vikram Rajkumar
6043586d15
Rename bad references to delegate -> witness; #147
2015-07-13 16:08:17 -04:00
Daniel Larimer
c8f0ea4abe
It now builds #144
2015-07-09 09:56:50 -04:00
theoreticalbts
8ff25b813f
Begin implementation of new exception framework #113
2015-07-08 13:53:08 -04:00
theoreticalbts
4229e33525
tests: replace BOOST_REQUIRE_THROW / BOOST_CHECK_THROW with GRAPHENE_*_THROW
2015-07-08 13:53:08 -04:00
Nathan Hourt
ab740d6aaa
Make memo_test fail if serialization format changes
...
If this happens, the web guys need to be notified of the new format.
2015-07-06 17:40:23 -04:00
theoreticalbts
52fd59f0aa
basic_tests.cpp: Change BOOST_REQUIRE to BOOST_CHECK in valid_name_test
2015-07-06 13:01:30 -04:00
theoreticalbts
7c30e44dc9
Fix is_valid_name() bugs, make it RFC 1035 compliant, update unit test, fix #15
2015-07-06 13:01:24 -04:00
Daniel Larimer
fefa0f65f8
Issue #106 - Removing KeyObject
...
- this is a major refactor of the code and may have broken some behavior
in the wallet or witness nodes.
- this commit changes the serialization of operations
- the chain_tests pass
2015-07-02 01:52:45 -04:00
Vikram Rajkumar
9719689c34
Add unit test for is_valid_symbol
2015-06-29 15:25:54 -04:00
Vikram Rajkumar
f0ea015ccf
Clean up is_valid_name and remove child accounts; #15 , #93
2015-06-29 15:25:53 -04:00
Peter Conrad
0162a7d87d
Added more test cases
2015-06-29 11:56:52 +02:00
Nathan Hourt
08cba191c7
Progress #66 : Audit calculate_fee implementations
...
I've audited all the calculate_fee impls and they all should be
reasonable at this point.
TODO: Set default fee values.
2015-06-23 14:19:39 -04:00
Daniel Larimer
fdec2a24e3
Fix #15 - adding unit test
2015-06-19 16:18:56 -04:00
Nathan Hourt
a90e3f0155
Fix broken delegate_feeds test
2015-06-19 13:43:57 -04:00
Nathan Hourt
0a945b0257
Initial commit
2015-06-08 12:36:37 -04:00