<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monzero-core.git/src/cryptonote_core/cryptonote_tx_utils.cpp, branch v0.12.2.0</title>
<subtitle>Monzero core node, command-line wallet, consensus code, and release tooling.
</subtitle>
<id>https://code.monzero.org/monzero-core.git/atom?h=v0.12.2.0</id>
<link rel='self' href='https://code.monzero.org/monzero-core.git/atom?h=v0.12.2.0'/>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/'/>
<updated>2018-05-20T00:40:32Z</updated>
<entry>
<title>Fix output shuffling for multisig</title>
<updated>2018-05-20T00:40:32Z</updated>
<author>
<name>stoffu</name>
<email>stoffu@protonmail.ch</email>
</author>
<published>2018-05-20T00:40:32Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=aabe3eedb8e21528905eb7142706441d6bcdeb00'/>
<id>urn:sha1:aabe3eedb8e21528905eb7142706441d6bcdeb00</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cryptonote_tx_util: make destinations properly shuffled</title>
<updated>2018-03-31T09:37:46Z</updated>
<author>
<name>stoffu</name>
<email>stoffu@protonmail.ch</email>
</author>
<published>2018-03-31T07:19:14Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=eb59f7c5630f80715af30453c31fd2dfc85944ad'/>
<id>urn:sha1:eb59f7c5630f80715af30453c31fd2dfc85944ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>keypair::generate: always require hw::device to avoid possible mistake</title>
<updated>2018-03-14T12:00:16Z</updated>
<author>
<name>stoffu</name>
<email>stoffu@protonmail.ch</email>
</author>
<published>2018-03-05T08:02:17Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=8705beaf51c12d7eab5f56f615ec529a2a8efc27'/>
<id>urn:sha1:8705beaf51c12d7eab5f56f615ec529a2a8efc27</id>
<content type='text'>
</content>
</entry>
<entry>
<title>device: untangle cyclic depenency</title>
<updated>2018-03-14T12:00:15Z</updated>
<author>
<name>stoffu</name>
<email>stoffu@protonmail.ch</email>
</author>
<published>2018-03-05T07:16:30Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=27a196b1268718dbc41e308c93b35c58f2da2eb4'/>
<id>urn:sha1:27a196b1268718dbc41e308c93b35c58f2da2eb4</id>
<content type='text'>
When #3303 was merged, a cyclic dependency chain was generated:

    libdevice &lt;- libcncrypto &lt;- libringct &lt;- libdevice

This was because libdevice needs access to a set of basic crypto operations
implemented in libringct such as scalarmultBase(), while libringct also needs
access to abstracted crypto operations implemented in libdevice such as
ecdhEncode(). To untangle this cyclic dependency chain, this patch splits libringct
into libringct_basic and libringct, where the basic crypto ops previously in
libringct are moved into libringct_basic. The cyclic dependency is now resolved
thanks to this separation:

    libcncrypto &lt;- libringct_basic &lt;- libdevice &lt;- libcryptonote_basic &lt;- libringct

This eliminates the need for crypto_device.cpp and rctOps_device.cpp.

Also, many abstracted interfaces of hw::device such as encrypt_payment_id() and
get_subaddress_secret_key() were previously implemented in libcryptonote_basic
(cryptonote_format_utils.cpp) and were then called from hw::core::device_default,
which is odd because libdevice is supposed to be independent of libcryptonote_basic.
Therefore, those functions were moved to device_default.cpp.
</content>
</entry>
<entry>
<title>Ledger HW Bug fixes</title>
<updated>2018-03-12T09:43:06Z</updated>
<author>
<name>Cédric</name>
<email>cslashm@gmail.com</email>
</author>
<published>2018-03-05T13:46:15Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=73dd883d5112e2e8be1a465aca3b3fb48b651afd'/>
<id>urn:sha1:73dd883d5112e2e8be1a465aca3b3fb48b651afd</id>
<content type='text'>
Fix the way the REAL mode is handle:
  Let create_transactions_2 and create_transactions_from construct the vector of transactions.
  Then iterate on it and resign.
  We just need to add 'outs' list in the TX struct for that.

Fix default secret keys value when DEBUG_HWDEVICE mode is off
  The magic value (00...00 for view key and FF..FF for spend key) was not correctly set
  when DEBUG_HWDEVICE was off. Both was set to 00...00.

Add sub-address info in ABP map in order to correctly display destination sub-address on device

Fix DEBUG_HWDEVICE mode:
   - Fix compilation errors.
   - Fix control device init in ledger device.
   - Add more log.

Fix sub addr control

Fix debug Info
</content>
</entry>
<entry>
<title>Merge pull request #3338</title>
<updated>2018-03-05T17:13:28Z</updated>
<author>
<name>Riccardo Spagni</name>
<email>ric@spagni.net</email>
</author>
<published>2018-03-05T17:13:27Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=9841a452e5c2c37419f8fd29b87c080d974cbce5'/>
<id>urn:sha1:9841a452e5c2c37419f8fd29b87c080d974cbce5</id>
<content type='text'>
51219457 core: fix sending to the source address with a short payment id (moneromooo-monero)
</content>
</entry>
<entry>
<title>Use `genesis_tx` parameter in `generate_genesis_block`. #3261</title>
<updated>2018-03-05T02:19:01Z</updated>
<author>
<name>Jean Pierre Dudey</name>
<email>jeandudey@hotmail.com</email>
</author>
<published>2018-02-14T00:51:37Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=9f9e095a8c6c50c04b110f11d69f14b91e94233c'/>
<id>urn:sha1:9f9e095a8c6c50c04b110f11d69f14b91e94233c</id>
<content type='text'>
 * src/cryptnote_config.h: The constant `config::testnet::GENESIS_TX` was
changed to be the same as `config::GENESIS_TX` (the mainnet's transaction)
because the mainnet's transaction was being used for both networks.

* src/cryptonote_core/cryptonote_tx_utils.cpp: The `generate_genesis_block` function
was ignoring the  `genesis_tx` parameter, and instead it was using the `config::GENESIS_TX`
constant. That's why the testnet genesis transaction was changed. Also five lines of unused
code were removed.

Signed-off-by: Jean Pierre Dudey &lt;jeandudey@hotmail.com&gt;
</content>
</entry>
<entry>
<title>Code modifications to integrate Ledger HW device into monero-wallet-cli.</title>
<updated>2018-03-04T11:54:53Z</updated>
<author>
<name>cslashm</name>
<email>cslashm@gmail.com</email>
</author>
<published>2018-02-20T16:01:27Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=e745c1e38da8e54032660894bb2db0e9a49cccf2'/>
<id>urn:sha1:e745c1e38da8e54032660894bb2db0e9a49cccf2</id>
<content type='text'>
The basic approach it to delegate all sensitive data (master key, secret
ephemeral key, key derivation, ....) and related operations to the device.
As device has low memory, it does not keep itself the values
(except for view/spend keys) but once computed there are encrypted (with AES
are equivalent) and return back to monero-wallet-cli. When they need to be
manipulated by the device, they are decrypted on receive.

Moreover, using the client for storing the value in encrypted form limits
the modification in the client code. Those values are transfered from one
C-structure to another one as previously.

The code modification has been done with the wishes to be open to any
other hardware wallet. To achieve that a C++ class hw::Device has been
introduced. Two initial implementations are provided: the "default", which
remaps all calls to initial Monero code, and  the "Ledger", which delegates
all calls to Ledger device.
</content>
</entry>
<entry>
<title>core: fix sending to the source address with a short payment id</title>
<updated>2018-03-02T23:27:57Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2018-03-02T23:27:57Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=51219457b177986a1dff89334969e0b357ae14fb'/>
<id>urn:sha1:51219457b177986a1dff89334969e0b357ae14fb</id>
<content type='text'>
It would fail to send, thinking it needs a destination address,
since the destination matches the change address in this case.
</content>
</entry>
<entry>
<title>cryptonote_tx_utils: fixed logic bug in get_destination_view_key_pub</title>
<updated>2018-01-29T08:05:07Z</updated>
<author>
<name>stoffu</name>
<email>stoffu@protonmail.ch</email>
</author>
<published>2018-01-22T01:16:25Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=402c9eef0e25d8a295367206ea9f1aebdea7c6d7'/>
<id>urn:sha1:402c9eef0e25d8a295367206ea9f1aebdea7c6d7</id>
<content type='text'>
</content>
</entry>
</feed>
