00:04:45 rbrunner claimed that the tx was broadcast 00:05:01 that message is written when the tx comes back to the node, will list more details on the github thread 10:48:40 is length of encrypted amount field enforced? 11:10:16 That sounds so much like a trick question. 11:10:30 You asked that a few times already, but never with details on what exactly is htat field. 11:11:16 There is a key in rct that is the amount. If that what you're afte r? If so, it's a key, not a field. A field sounds lilke somehting from extra, or some varint, but I don't see what it could be off the top of my head. 11:12:34 I had a discussion with sarang a couple months ago about range checking here, but if that's what you're after, there's builtin range checking that the amount is within 64 bit range (with negligible probability that it is not) IIRC. 11:12:41 If you're asking about a third thing, give details. 12:26:33 I never asked this before 12:26:48 encrypted amount is what's related to ecdhEncode 12:27:17 it's 8 bytes now, but could someone make a tx with more/less than 8> 12:27:18 ? 13:05:34 vtnerd: that message is written when the tx comes back to the node, <- my 3 transactions went through with no problems as well and i got that message too. 13:50:19 I'm wondering if mdb_txn_safe::wait_no_active_txns in src/blockchain_db/lmdb/db_lmdb.cpp is working as intended. The transaction counter is only updated when used through mdb_txn_safe itself, but read transactions don't appear to use this class 13:51:14 This function is used to ensure there are no active transactions before calling mdb_env_set_mapsize in lmdb_resized, because according to the LMDB docs it may only called when there are no active txns: 13:51:17 "It may be called at later times if no transactions are active in this process. Note that the library does not check for this condition, the caller must ensure it explicitly." 13:51:32 Read txns can overlap with other txes. They just get old data if a write txs committed after htey started. 13:51:33 It doesn't mention that this only applies to write transactions, though 13:51:42 hyc: ^ 14:01:51 I'd also say that if multiple read transactions are started which fail with MDB_MAP_RESIZED while a write transaction is active, mdb_env_set_mapsize might be called concurrently when the write transaction is closed 14:02:38 I am unsure whether or not this could lead to trouble, whether that function is thread safe 17:41:29 mdb_txn_safe is used for readtxns too 17:43:22 a single process using the DB can't get the MAP_RESIZED error. 17:43:41 that only comes up if a different process has resized the DB 17:45:26 env_set_mapsize is not threadsafe. it is up to the caller to ensure it only gets called once.