Tim Hughes
f422c75fb0
The std::string in InstructionInfo triggers a bug in Visual Studio 2013 where it fails to initialise the strings in c_instructionInfo. Using char const* fixes the problem, and is sufficient as the map is constructed from string literals anyway. I also moved the maps out of the header so we only get one copy, rather than multiple static copies for each referencing module.
11 years ago
Tim Hughes
43662cd8fa
Fixed VS2013 projects and compile errors.
Enable and fix addition warnings (-Wextra).
Disable unknown pragma warning (avoids messy wrapping pragmas in compiler guards).
Tidy up some of the waring suppression for 3rd part libraries by wrapping with a header.
11 years ago
Gav Wood
f5950073d2
Fixes and avoid sending on closed socket.
11 years ago
Gav Wood
440800a4fa
Fix killExisting bug.
11 years ago
Gav Wood
dff8e9ef46
Stop on div by zero rather than throw.
11 years ago
Tim Hughes
e0c67d7c7c
The std::string in InstructionInfo triggers a bug in Visual Studio 2013 where it fails to initialise the strings in c_instructionInfo. Using char const* fixes the problem, and is sufficient as the map is constructed from string literals anyway. I also moved the maps out of the header so we only get one copy, rather than multiple static copies for each referencing module.
11 years ago
Gav Wood
82612a7027
Move additional Trie implementations to tests where they belong.
11 years ago
Gav Wood
736557ca4c
Various headers from the repotting.
Log has documentation.
11 years ago
Gav Wood
4cccb079f0
Documentation for Instruction.h.
11 years ago
Gav Wood
adc4061d9c
Document FixedHash.
11 years ago
Gav Wood
607a5de340
Repotted Common.h.
11 years ago
Gav Wood
fb49ca64f6
Repotted network stuff.
11 years ago
Eric Lombrozo
92200adeb3
Get rid of operator precedence warning.
11 years ago
Gav Wood
2c98c1191f
Remove debug code.
11 years ago
Gav Wood
6e348fb224
New namereg.
Bug fix for transactions.
11 years ago
Gav Wood
c1c02c461d
Remove Database when protocol version changes.
11 years ago
Gav Wood
491bb2ed95
Preparation for 0.3.11
11 years ago
Gav Wood
da4144bbb6
Better handling of bad transactions.
11 years ago
Gav Wood
7e38de2710
Avoid reprocessing future transactions until it's possible they're
valid.
11 years ago
Gav Wood
0726a09668
Version bump.
11 years ago
Gav Wood
a49a1d5138
Tidy up BuildInfo.h
11 years ago
Gav Wood
730ba66f01
Hardening against bad RLP.
11 years ago
Gav Wood
084aabfb02
QML stuff.
11 years ago
Tim Hughes
9001a887f0
Fix implicit size_t->int conversion.
11 years ago
Gav Wood
82f32d1e7f
Version bump ready for release.
11 years ago
Gav Wood
f8a2733f10
Version bump and automation.
11 years ago
Gav Wood
24bc3e5c6e
Unary operators.
11 years ago
Gav Wood
9bb6645cac
Binary operators.
11 years ago
Gav Wood
87f9d5bd39
Comments and boolean operators.
11 years ago
Gav Wood
9b86e3764c
Make good arithmetic operations.
11 years ago
Gav Wood
607ba1577d
Hash fix.
11 years ago
Muharem Hrnjadovic
c5304c2e1a
removed unused class (DBFace)
11 years ago
Gav Wood
32d3334417
Fixed hash so compiles in a C++ compiler. Not sure what compiler Tim was
using.
11 years ago
Gav Wood
0731c3ae7a
Hash instructions require at least one on stack.
11 years ago
Tim Hughes
e182b3293d
Implement optimised hash and equality operators for h256, and specialise std::hash<eth::h256>.
11 years ago
Gav Wood
7e12281c9b
Switch back to normal map for the moment.
11 years ago
zelig
e44615cdc6
use std::unordered_map for blockchain + minor fixes
- hashing class defined in Common.h (credit JW Ratcliff)
- fix m_stack/m_temp in VM clang sections
- explicit namespace for std::make_pair calls
11 years ago
unknown
95a954dbb2
Example of how to use std::hash_map
Please enter the commit message for your changes. Lines starting
11 years ago
Tim Hughes
7bfe57e2e0
Fix bug where buffer was being deleted underneath async_write operation.
Fix bug where member function called from async callback without holding valid shared_ptr to class.
11 years ago
Gav Wood
31bda990b6
Fix State.h.
11 years ago
Gav Wood
dc686aa542
Cleanup executeBare().
11 years ago
Gav Wood
80be7e5e02
Remove unneeded flexibility, clean up & fix executeBare.
11 years ago
Gav Wood
b0d2d6ea28
VM should be exception safe to avoid ending in invalid state.
11 years ago
Gav Wood
277ca86bd1
Fix for state transition when collision occurs.
11 years ago
Gav Wood
df5ce4302b
Bug fix for state transitioning - don't change nonce until after
guaranteed no collision has occured.
11 years ago
Gav Wood
ddefcf456d
Minor fix for clang.
Import QML resources.
11 years ago
Gav Wood
dca5a13b69
ETH_VERSION cmake fix.
11 years ago
Tim Hughes
995062279c
Move ETH_VERSION to Common.h (for now) so it's picked up on MSVC.
11 years ago
Gav Wood
3001ec0636
Allow NameReg to be configured.
11 years ago
Gav Wood
837240cb5a
New NameReg
11 years ago