moneromooo-monero
161551e13b
tests: test for ringct rctSig data sizes
...
ie, more data or less data than expected in various fields
8 years ago
moneromooo-monero
359f46901e
ringct: add missing size check for ecdhInfo
8 years ago
moneromooo-monero
229968eafc
ringct: change asserts to return false for boolean functions
8 years ago
moneromooo-monero
dc4aad7eb5
add rct to the protocol
...
It is not yet constrained to a fork, so don't use on the real network
or you'll be orphaned or rejected.
8 years ago
moneromooo-monero
211d1db762
db_lmdb: update reset for recent db changes
...
- we need to drop the new m_tx_indices database
- we reset the version to current version
This fixes the core tests failing to initialize.
8 years ago
moneromooo-monero
dee42d6dac
ringct: add functions to commit to an amount
...
One to commit to an amount with zero key (for use with fake
commitments for pre-rct outputs), and one with an arbitrary
key (for rct outputs).
8 years ago
moneromooo-monero
cc7f449d57
make rct tx serialization work
...
It may be suboptimal, but it's a pain to have to rebuild everything
when some of this changes.
Also, no clue why there seems to be two different code paths for
serializing a tx...
8 years ago
moneromooo-monero
e70e8a69f4
crypto: error out where appropriate
8 years ago
moneromooo-monero
54f7429cf6
ringct: allow no outputs, and add tests for this and fees
8 years ago
moneromooo-monero
e99904ac31
ringct: make fee optional
8 years ago
Shen Noether
f8c04ad94f
ringct: txn fee stuff
8 years ago
moneromooo-monero
66f96260b2
ringct: new {gen,decode}Rct APIs for convenience
...
A new version of genRct takes the mixRing as parameter, instead
of the inPk. inPk are part of the mixRing, and it is cleaner to
pass the mixRing data than to fetch it from the RingCT code.
A new version of decodeRct also returns the mask.
Also, failure to decode throws, so errors are properly detected.
8 years ago
moneromooo-monero
789b2e21f6
ringct: add more convenience functions
8 years ago
moneromooo-monero
98564439f8
core: link against libringct
8 years ago
moneromooo-monero
4258dab4d6
core: new /getrandom_rctouts.bin binary RPC call
...
to get random ringct outputs to mix with
8 years ago
moneromooo-monero
c3a2e1450a
ringct: add convenience functions to bridge ringct and cryptonote
8 years ago
moneromooo-monero
eb56d0f994
blockchain_db: add functions for adding/removing/getting rct commitments
8 years ago
moneromooo-monero
82072e701a
ringct: restore verRange check in debug mode
8 years ago
moneromooo-monero
63856cad29
ringct: add check for destinations/amount size being equal
8 years ago
moneromooo-monero
e816a09292
ringct: fix off by 1 in mixin usage
8 years ago
moneromooo-monero
09c5ea43a2
ringct: simplify random key generation
8 years ago
Shen Noether
53cdf4df5e
tests: new ringct test for checking H2 values
...
Ported from Shen's RingCT repo
8 years ago
Shen Noether
56f6549962
ringct: cosmetic fixes
...
Ported from Shen's RingCT repo
8 years ago
Shen Noether
55ff136e12
ringct: changes to hashToPointSimple to calcualte H2 values
...
Ported from Shen's RingCT repo
8 years ago
Shen Noether
63733b1785
ringct: compare keys with bitwise equality, not crypto ops
...
Ported from Shen's RingCT repo
8 years ago
Shen Noether
98f4c6f7eb
ringct: fix size argument to cn_fast_hash
...
Ported from Shen's RingCT repo
8 years ago
moneromooo-monero
720ac85553
tests: zero inputs/outputs are in fact supposed to be accepted
8 years ago
moneromooo-monero
84948eabae
ringct: add a test for prooveRange being non deterministic
8 years ago
Shen Noether
09fb9f4b75
Fix sc_0 to skGen in ProveRange
8 years ago
moneromooo-monero
d37c1db032
ringct: add a few consts where appropriate
8 years ago
moneromooo-monero
700248f59e
tests: more ringct range proof tests
8 years ago
moneromooo-monero
d02f9995a8
rct: add serialization machinery to rct types
8 years ago
moneromooo-monero
0ff8305426
serialization: declare do_serialize specializations before use
...
This lets my gcc picks those instead of the generic template
where appropriate (and then fail since std::vector<something>
does not have a serialize method.
8 years ago
Shen Noether
8b135e7aa3
Added note on generating H2
8 years ago
Shen Noether
4d639d90ca
Fixed missing last index H2
8 years ago
moneromooo-monero
9e82b694da
remove original Cryptonote blockchain_storage blockchain format
8 years ago
moneromooo-monero
86b4426191
ringct: lock access to the PRNG
8 years ago
moneromooo-monero
4d7f073491
ringct: add simple input validation
...
Throw when inputs aren't the expected size.
8 years ago
moneromooo-monero
57779abe27
tests: add some more ringct building block tests
8 years ago
moneromooo-monero
b656001030
ringct: add convenience operators to key
8 years ago
moneromooo-monero
2d6303fb2c
tests: add Shen Noether's basic ringct tests
8 years ago
moneromooo-monero
9b1afe5f2d
ringct: import of Shen Noether's ring confidential transactions
8 years ago
Howard Chu
dc411ea3b7
Change default db-sync-mode to fast, not fastest
8 years ago
redfish
1c7d3b05a9
cmake: define ARM var for all ARM arch variants
...
This is refactoring only. No behavior change.
8 years ago
Riccardo Spagni
d321c02830
minor README changes, also I wanted to grab PR #1000
8 years ago
redfish
6fe543dcd4
cmake: ARM: exclude libunwind in static build
...
Else error in build with STATIC=ON:
cd /home/redfish/bitmonero/build/release/src/miner && /usr/bin/cmake -E
cmake_link_script CMakeFiles/simpleminer.dir/link.txt --verbose=1
/usr/bin/c++ -std=c++11 -D_GNU_SOURCE -Wall -Wextra -Wpointer-arith
-Wundef -Wvla -Wwrite-strings -Wno-error=extra
-Wno-error=deprecated-declarations -Wno-unused-parameter
-Wno-unused-variable -Wno-error=unused-variable -Wno-error=undef
-Wno-error=uninitialized -Wlogical-op -Wno-error=maybe-uninitialized
-Wno-reorder -Wno-missing-field-initializers -march=armv7-a
-fno-strict-aliasing -mfloat-abi=hard -DNDEBUG -O2 -flto
-ffat-lto-objects -static-libgcc -static-libstdc++
-Wl,--wrap=__cxa_throw CMakeFiles/simpleminer.dir/simpleminer.cpp.o -o
../../bin/simpleminer -rdynamic -Wl,-Bstatic -lrt -Wl,-Bdynamic -ldl
../cryptonote_core/libcryptonote_core.a ../common/libcommon.a
-Wl,-Bstatic -lboost_filesystem -lboost_program_options -lboost_regex
-lboost_chrono -lboost_system -lboost_thread -Wl,-Bdynamic -pthread
-Wl,-Bstatic -lrt -Wl,-Bdynamic -ldl ../blockchain_db/libblockchain_db.a
../cryptonote_core/libcryptonote_core.a
../blockchain_db/libblockchain_db.a
../../contrib/otshell_utils/libotshell_utils.a ../blocks/libblocks.a
../common/libcommon.a ../../external/unbound/libunbound.a -lssl -lcrypto
-lunwind -Wl,-Bstatic -lboost_program_options ../crypto/libcrypto.a
-lboost_date_time -lboost_serialization -lboost_filesystem
../../external/db_drivers/liblmdb/liblmdb.a -Wl,-Bdynamic -pthread
-Wl,-Bstatic -lboost_chrono -lboost_system -lboost_thread -lrt
-Wl,-Bdynamic -ldl
/usr/bin/ld: ../../bin/simpleminer: hidden symbol
`__aeabi_unwind_cpp_pr0' in
/usr/lib/gcc/armv7l-unknown-linux-gnueabihf/6.1.1/libgcc_eh.a(unwind-arm.o)
is referenced by DSO
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
8 years ago
redfish
397b720069
make: remove NO_AES from arm targets
...
cmake sets that appropriately based on the target architecture
8 years ago
redfish
57ca3f3f64
make: make the ARM release targets statically linked
...
I think, in this context, dynamically linked builds make sense
only for native builds, not these builds that target arch
families to produce portable binaries.
8 years ago
redfish
43c07a1cfa
readme: editted install/build instructions for clarity
...
* some re-org of sections to make things more concise
* dedicated section for installing from packages vs building from source
* for Windows, instruct to run the top-level makefile targets,
because I don't see any reason not to -- advanced users
will look into the makefile and find the cmake command there
if they need to.
* for Windows, instruct to install *-toolchain meta package
which includes expat
* added some context info here and there to aid -- I tried
to clarify things that confused me, e.g. Windows build is
cross-compilation to be precise; motivation for targets
that are meant for generating portable binaries as opposed
to binaries optimized to host CPU.
8 years ago
redfish
a0d40587ea
Revert "makefile: remove unnecessary ARM-specific targets"
...
This reverts commit ecd0f2dde7
.
These targets that are not native builds. They are for builds
portable within processors of a given family.
'make release' used to not work to build a native build on ARM, but that
has been fixed. These targets are unrelated to the native build.
8 years ago