<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monzero-core.git/tests/unit_tests/epee_utils.cpp, branch v0.16.0.3</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.16.0.3</id>
<link rel='self' href='https://code.monzero.org/monzero-core.git/atom?h=v0.16.0.3'/>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/'/>
<updated>2020-05-20T00:21:21Z</updated>
<entry>
<title>ByteSlice: Fix persisting ptr to std::moved SSO buffer</title>
<updated>2020-05-20T00:21:21Z</updated>
<author>
<name>Doyle</name>
<email>doylet@protonmail.com</email>
</author>
<published>2020-05-19T08:45:32Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=438b84690e818b136b84f31a12e67a83fec8979b'/>
<id>urn:sha1:438b84690e818b136b84f31a12e67a83fec8979b</id>
<content type='text'>
The Bug:
1. Construct `byte_slice.portion_` with `epee::span(buffer)` which copies a pointer to the SSO buffer to `byte_slice.portion_`
2. It constructs `byte_slice.storage_` with `std::move(buffer)` (normally this swap pointers, but SSO means a memcpy and clear on the original SSO buffer)
3. `slice.data()` returns a pointer from `slice.portion_` that points to the original SSO cleared buffer, `slice.storage_` has the actual string.
</content>
</entry>
<entry>
<title>Fixed bugs for take_slice and byte_stream-&gt;byte_slice</title>
<updated>2020-05-12T23:07:41Z</updated>
<author>
<name>Lee Clagett</name>
<email>code@leeclagett.com</email>
</author>
<published>2020-05-12T05:26:37Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=cc40ce1b3ffca5a48daaf6e35cdca596be5f3820'/>
<id>urn:sha1:cc40ce1b3ffca5a48daaf6e35cdca596be5f3820</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add byte_stream for zero-copy serialization, and add support in ZMQ-JSON.</title>
<updated>2020-04-11T04:12:11Z</updated>
<author>
<name>Lee Clagett</name>
<email>code@leeclagett.com</email>
</author>
<published>2020-03-18T23:22:39Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=c26c93019a52dee52ee865f4f1b23e6929968258'/>
<id>urn:sha1:c26c93019a52dee52ee865f4f1b23e6929968258</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed string_ref usage bug in epee::from_hex::vector</title>
<updated>2020-03-30T16:53:34Z</updated>
<author>
<name>Lee Clagett</name>
<email>code@leeclagett.com</email>
</author>
<published>2020-02-28T22:42:28Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=f9441c5759ce2609cd521c9343ff74b385980633'/>
<id>urn:sha1:f9441c5759ce2609cd521c9343ff74b385980633</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #6351</title>
<updated>2020-04-04T17:55:02Z</updated>
<author>
<name>luigi1111</name>
<email>luigi1111w@gmail.com</email>
</author>
<published>2020-04-04T17:55:02Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=cfc0f4a7fa67dd880d51c0aa35baa1e73e5db423'/>
<id>urn:sha1:cfc0f4a7fa67dd880d51c0aa35baa1e73e5db423</id>
<content type='text'>
81c5943 Remove temporary std::string creation in some hex-&gt;bin calls (vtnerd)
5fcc23a Move hex-&gt;bin conversion to monero copyright files and with less includes (vtnerd)
3387f0e Reduce template bloat in hex-&gt;bin for ZMQ json (vtnerd)
</content>
</entry>
<entry>
<title>p2p: remove old debug commands</title>
<updated>2020-03-21T05:09:44Z</updated>
<author>
<name>Aaron Hook</name>
<email>ahook@protonmail.com</email>
</author>
<published>2020-03-21T05:09:44Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=aa93e3886211621e8c3367954b35260df731fc72'/>
<id>urn:sha1:aa93e3886211621e8c3367954b35260df731fc72</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move hex-&gt;bin conversion to monero copyright files and with less includes</title>
<updated>2020-03-09T05:23:59Z</updated>
<author>
<name>Lee Clagett</name>
<email>code@leeclagett.com</email>
</author>
<published>2019-11-17T04:29:18Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=5fcc23ae0a08e6846a4d0fbfdb51627559929068'/>
<id>urn:sha1:5fcc23ae0a08e6846a4d0fbfdb51627559929068</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Various improvements to the ZMQ JSON-RPC handling:</title>
<updated>2020-03-05T14:20:56Z</updated>
<author>
<name>Lee Clagett</name>
<email>code@leeclagett.com</email>
</author>
<published>2019-11-07T05:45:06Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=0f78b06e8c578819f831a513490278a5f70b01af'/>
<id>urn:sha1:0f78b06e8c578819f831a513490278a5f70b01af</id>
<content type='text'>
  - Finding handling function in ZMQ JSON-RPC now uses binary search
  - Temporary `std::vector`s in JSON output now use `epee::span` to
    prevent allocations.
  - Binary -&gt; hex in JSON output no longer allocates temporary buffer
  - C++ structs -&gt; JSON skips intermediate DOM creation, and instead
    write directly to an output stream.
</content>
</entry>
<entry>
<title>Add ref-counted buffer byte_slice. Currently used for sending TCP data.</title>
<updated>2019-07-16T16:30:35Z</updated>
<author>
<name>Lee Clagett</name>
<email>code@leeclagett.com</email>
</author>
<published>2019-05-11T15:38:35Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=bdfc63ae4ddc52e2dece2a031a91509418206cb0'/>
<id>urn:sha1:bdfc63ae4ddc52e2dece2a031a91509418206cb0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #5748</title>
<updated>2019-08-21T20:18:38Z</updated>
<author>
<name>luigi1111</name>
<email>luigi1111w@gmail.com</email>
</author>
<published>2019-08-21T20:18:38Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=a8e99198bf4a61dd6763bf008bc86b3c378ce1f9'/>
<id>urn:sha1:a8e99198bf4a61dd6763bf008bc86b3c378ce1f9</id>
<content type='text'>
b350726 boost: update obsolete usage of endian API (moneromooo-monero)
</content>
</entry>
</feed>
