Riccardo Spagni
00898fe750
Merge pull request #1452
...
944b6079
Wallet API: Do not refresh while daemon is syncing + fixed fast refresh when creating wallet offline + improved close wallet logic (make sure refresh thread is stopped) (Jaquee)
8 years ago
Riccardo Spagni
5f5cfdfa77
Merge pull request #1451
...
2506d51d
wallet cli: donate command (Kenshi Takayama)
8 years ago
Riccardo Spagni
aa47ea41a7
Merge pull request #1444
...
bdc3d749
Adding HTTP Digest Auth (but not yet enabled) (Lee Clagett)
8 years ago
Jaquee
944b6079d9
Wallet API: Do not refresh while daemon is syncing
...
+ fixed fast refresh when creating wallet offline
+ improved close wallet logic (make sure refresh thread is stopped)
8 years ago
Antonio Huete Jimenez
b00da61eab
Preliminary support for DragonFly BSD
...
- It builds but no further testing has been done.
8 years ago
Kenshi Takayama
2506d51d60
wallet cli: donate command
8 years ago
anonimal
4bb0bff233
AddressBook: use unsigned type for row ID's
...
Fixes build warnings and may also prevent future headaches.
8 years ago
moneroexamples
374b58d131
fix MGs json
8 years ago
Riccardo Spagni
b97a2f72db
Merge pull request #1445
...
95b9e85e
rename cn_deserialize (Riccardo Spagni)
8 years ago
Riccardo Spagni
183d3657f3
Merge pull request #1446
...
b2adfa8c
Bitmonero namespace renamed Monero. Bitmonero namespace alias added so that third party uses of the wallet api can transition. (Randi Joseph)
8 years ago
Randi Joseph
b2adfa8c51
Bitmonero namespace renamed Monero. Bitmonero namespace alias added so that third party uses of the wallet api can transition.
8 years ago
Riccardo Spagni
95b9e85e2d
rename cn_deserialize
8 years ago
Riccardo Spagni
b1bdb4e529
Merge pull request #1437
...
655eafd1
bump version (Riccardo Spagni)
117194a3
update checkpoints (Riccardo Spagni)
39a9db9e
update checkpoints (Riccardo Spagni)
8 years ago
Riccardo Spagni
2f2c6460ae
Merge pull request #1442
...
dd144b14
blockchain: fix reorganizations past a hard fork boundary (moneromooo-monero)
8 years ago
Riccardo Spagni
c03da2b2dd
Merge pull request #1441
...
0fb5dc87
monero-wallet-cli wording changes 'n' stuff (luigi1111)
8 years ago
Riccardo Spagni
c2a9229310
Merge pull request #1439
...
4299bdf6
Improve language of 'node ahead by' message (NanoAkron)
8 years ago
Lee Clagett
bdc3d7496f
Adding HTTP Digest Auth (but not yet enabled)
8 years ago
moneromooo-monero
dd144b14bc
blockchain: fix reorganizations past a hard fork boundary
...
After popping blocks from the old chain, the hard fork object's
notion of the current version was not in line with the new height,
causing the first blocks from the new chain to be rejected due
to a false expection of a newer version.
8 years ago
luigi1111
0fb5dc870d
monero-wallet-cli wording changes 'n' stuff
...
Possibly other pedantry. Pedants are people too.
8 years ago
NanoAkron
4299bdf614
Improve language of 'node ahead by' message
8 years ago
luigi1111
9d906159c3
Tx verification failing is not an error
...
And rangeProofs are on outputs...
8 years ago
Riccardo Spagni
655eafd160
bump version
8 years ago
Riccardo Spagni
117194a397
update checkpoints
8 years ago
Riccardo Spagni
39a9db9eb1
update checkpoints
8 years ago
Jaquee
3b4539ee7e
addressbook updates
8 years ago
Riccardo Spagni
5b7f1fc8e4
Merge pull request #1424
...
aeb13289
Update cryptonote_protocol_handler.inl (Gingeropolous)
8 years ago
Riccardo Spagni
aa7a926681
Merge pull request #1434
...
5df92877
GUI address book (Jaquee)
8 years ago
Riccardo Spagni
84d3107600
Merge pull request #1431
...
81c6bb9a
thread_group: fix build on older GCC (moneromooo-monero)
8 years ago
Riccardo Spagni
67844f826e
Merge pull request #1425
...
c5c45ca6
wallet: bring forward use of the dynamic fee (moneromooo-monero)
8 years ago
Jaquee
5df92877c7
GUI address book
8 years ago
moneromooo-monero
81c6bb9a40
thread_group: fix build on older GCC
...
vtnerd (original author) confirmed this is the Right Way.
8 years ago
moneromooo-monero
c5c45ca660
wallet: bring forward use of the dynamic fee
...
It was 14 days after v4, it is now one day after it.
luigi1111's suggestion
8 years ago
Gingeropolous
aeb13289bb
Update cryptonote_protocol_handler.inl
...
Per discussion of #1359 , the wording has changed to indicate that no assessment of the blocks validity is made.
8 years ago
moneromooo-monero
19585d4914
mnemonics: fix misc STL containers leak
...
found by coverity
8 years ago
moneromooo-monero
f6fcf0ef26
oaes_lib: fix a leak on OOM error path
...
found by coverity
8 years ago
Riccardo Spagni
2d0fbaf35b
Merge pull request #1422
...
9b00d80f
wallet2: pass by const ref where possible (moneromooo-monero)
8 years ago
Riccardo Spagni
930aceb242
Merge pull request #1419
...
f4a3ce15
Fix sending outputs from a tx with more than one pubkey (moneromooo-monero)
8 years ago
Riccardo Spagni
0f99423080
Merge pull request #1418
...
dfbb85b6
blockchain: fix setting non trovial alternate chain as invalid (moneromooo-monero)
8 years ago
moneromooo-monero
9b00d80f85
wallet2: pass by const ref where possible
...
Reported by kenshi84
8 years ago
moneromooo-monero
f4a3ce15c1
Fix sending outputs from a tx with more than one pubkey
...
A bug in cold signing caused a spurious pubkey to be included
in transactions, so we need to ensure we use the correct one
when sending outputs from one of those.
8 years ago
moneromooo-monero
dfbb85b6fe
blockchain: fix setting non trovial alternate chain as invalid
...
The wrong iterator was being used.
Also preincrement iterators to avoid possibly invalidating them,
I'm not sure this is necessary, but let's be safe.
8 years ago
Riccardo Spagni
12b59460c2
Merge pull request #1417
...
0b91d825
simplewallet: restore automatically setting trusted local daemon (moneromooo-monero)
8 years ago
Riccardo Spagni
8e1a8c6adc
Merge pull request #1415
...
6c44f5c6
wallet: send 0 change to a random address where necessary with rct (moneromooo-monero)
8 years ago
Riccardo Spagni
e6b05ed95a
Merge pull request #1414
...
3b005275
ringct: add sc_check calls in MLSAG_Ver for ss and cc (moneromooo-monero)
2f1732a7
ringct: guard against bad data exceptions in worker threads (moneromooo-monero)
8 years ago
Riccardo Spagni
22e16e88e3
Merge pull request #1413
...
648ea6be
blockchain: bring the v4 fork height one block forward (luigi1111)
46a0dcc1
ringct: luigi1111's changes to fix and speedup Borromean sigs (luigi1111)
76958fc7
ringct: switch to Borromean signatures (Shen Noether)
8 years ago
Riccardo Spagni
f9503d2789
Merge pull request #1405
...
d1a75754
Remove infinite loop in refresh code (Jaquee)
8 years ago
moneromooo-monero
0b91d82574
simplewallet: restore automatically setting trusted local daemon
8 years ago
moneromooo-monero
3b00527500
ringct: add sc_check calls in MLSAG_Ver for ss and cc
...
luigi1111's recommendation
8 years ago
moneromooo-monero
2f1732a7e5
ringct: guard against bad data exceptions in worker threads
...
If purported pubkeys aren't actually valid pubkeys, exceptions
will fly. These will terminate if thrown in a worker thread.
Guard against this.
8 years ago
moneromooo-monero
6c44f5c6eb
wallet: send 0 change to a random address where necessary with rct
...
If a rct transaction would cause no change to be generated, a zero
change output is added, and sent to a randomly generated address.
This ensures that no transaction will be sent with just one output,
which could cause the receiver to be able to determine which of the
inputs in the sent rings is the real one.
This is very rare, since it requires the sum of outputs to be equal
to the sum of outputs plus the fee, which is now a function of the
last few blocks.
8 years ago
luigi1111
648ea6bef1
blockchain: bring the v4 fork height one block forward
...
This will ensure the early 0.10 daemons will barf at the fork
height, and not a bit later, which could be confusing.
8 years ago
Lee Clagett
18462aa065
Added confirmation before binding wallet-rpc to external IP
8 years ago
Jaquee
d1a75754df
Remove infinite loop in refresh code
...
This reverts commit fd181b03bb
.
8 years ago
luigi1111
46a0dcc1d2
ringct: luigi1111's changes to fix and speedup Borromean sigs
8 years ago
Shen Noether
76958fc75a
ringct: switch to Borromean signatures
8 years ago
Riccardo Spagni
b500a64524
Merge pull request #1399
...
73ac3b8e
wallet2: avoid possible undefined behavior on empty string (moneromooo-monero)
8 years ago
Riccardo Spagni
f2ea2afb77
Merge pull request #1398
...
f4772bae
Fix a few minor typos (Pierre Boyer)
8 years ago
Riccardo Spagni
8086379680
Merge pull request #1397
...
3f7d6fb5
Fix delayed exit when syncing (moneromooo-monero)
8 years ago
Riccardo Spagni
4a0be41dfe
Merge pull request #1396
...
7c0dd5e4
net_node: drop connections from banned IPs after looping through connections (moneromooo-monero)
8 years ago
Riccardo Spagni
d59dc59744
Merge pull request #1395
...
59443bf9
ringct: fix MGs serialization to JSON (moneromooo-monero)
8 years ago
Riccardo Spagni
daf5dbebb0
Merge pull request #1393
...
0e18f465
db_lmdb: add info in an error message when we can't get an output (moneromooo-monero)
c96f9b02
db_lmdb: guard against going out of sync on unexpected db results (moneromooo-monero)
bef51e67
db_lmdb: minor pedantic tweaks (moneromooo-monero)
3465c4eb
db_lmdb: set same packing format for output_data_t and pre_rct_output_data_t (moneromooo-monero)
8 years ago
Riccardo Spagni
416f7fbd5f
Merge pull request #1392
...
204b1bff
blockchain: use high bound block reward on error where appropriate (moneromooo-monero)
8 years ago
Riccardo Spagni
98150be7d8
Merge pull request #1389
...
4adde042
p2p: possibly fix crash in relay_blocks (moneromooo-monero)
8 years ago
Riccardo Spagni
977dd9b76c
Merge pull request #1385
...
5783dd8c
tests: add unit tests for uri parsing (moneromooo-monero)
82ba2108
wallet: add API and RPC to create/parse monero: URIs (moneromooo-monero)
d9001b43
epee: add functions to convert from URL format (ie, %XX values) (moneromooo-monero)
8 years ago
Riccardo Spagni
836c748366
Merge pull request #1388
...
fcd178ef
wallet_api: add a few daemon related getters (moneromooo-monero)
8 years ago
Riccardo Spagni
2fd43e25ee
Merge pull request #1386
...
8f6ec90c
blockchain: reject invalid pubkeys from v4 (moneromooo-monero)
8 years ago
Riccardo Spagni
42d07e865f
Merge pull request #1383
...
00592189
change 'invalid address format' loglevel (Jaquee)
8 years ago
Riccardo Spagni
3d533d1037
Merge pull request #1380
...
657a70e0
wallet: add a getter for the filename path (moneromooo-monero)
8 years ago
Riccardo Spagni
fe89782512
Merge pull request #1379
...
d6086f5b
Improve daemon RPC version handling (moneromooo-monero)
8 years ago
moneromooo-monero
73ac3b8e26
wallet2: avoid possible undefined behavior on empty string
8 years ago
Pierre Boyer
f4772bae81
Fix a few minor typos
8 years ago
moneromooo-monero
3f7d6fb57d
Fix delayed exit when syncing
8 years ago
moneromooo-monero
7c0dd5e46c
net_node: drop connections from banned IPs after looping through connections
...
This keeps the connections lock just for the time of looping
and adding connectoins to a list, and the dropping happens
after it. This should avoid lengthy delays waiting for the
connections lock.
8 years ago
moneromooo-monero
59443bf9df
ringct: fix MGs serialization to JSON
8 years ago
moneromooo-monero
4adde0423b
p2p: possibly fix crash in relay_blocks
8 years ago
moneromooo-monero
204b1bff62
blockchain: use high bound block reward on error where appropriate
...
If the block reward to use for the fee calculation can't be
calculated (should not happen in practice), use a high bound,
so we use a fee overestimate that will be accepted by the network.
8 years ago
moneromooo-monero
0e18f46522
db_lmdb: add info in an error message when we can't get an output
...
Will be useful to debug
8 years ago
moneromooo-monero
c96f9b0255
db_lmdb: guard against going out of sync on unexpected db results
...
m_num_outputs keeps track of the number of outputs, which should
be the same as the size of both the output_txs and output_amounts
databases. If one goes out of sync, we need to throw to abort
whatever it is we were doing.
8 years ago
moneromooo-monero
bef51e677e
db_lmdb: minor pedantic tweaks
...
Add consts in a few places where it makes sense, avoid unnecessary
memory reallocation where we know the full size needed at the outset,
simplify and avoid memory copy.
8 years ago
moneromooo-monero
3465c4ebc7
db_lmdb: set same packing format for output_data_t and pre_rct_output_data_t
...
For safety, though it seems to have been the case already.
Also add a comment about the necessary layout identity.
8 years ago
moneromooo-monero
fcd178ef33
wallet_api: add a few daemon related getters
...
Blockchain height, version, Mining hash rate...
8 years ago
moneromooo-monero
8f6ec90c83
blockchain: reject invalid pubkeys from v4
8 years ago
moneromooo-monero
82ba2108e9
wallet: add API and RPC to create/parse monero: URIs
8 years ago
Jaquee
0059218908
change 'invalid address format' loglevel
8 years ago
moneromooo-monero
657a70e004
wallet: add a getter for the filename path
8 years ago
moneromooo-monero
d6086f5b4e
Improve daemon RPC version handling
...
Daemon RPC version is now composed of a major and minor number,
so that incompatible changes bump the major version, while
compatible changes can still bump the minor version without
causing clients to unnecessarily complain.
8 years ago
Lee Clagett
91ffb61c25
Added command_line::is_yes
8 years ago
Riccardo Spagni
c36cb54340
Merge pull request #1372
...
17b6bd6
Fix DNS failures in offline mode preventing daemon startup (moneromooo-monero)
8 years ago
Riccardo Spagni
2497a2d547
Merge pull request #1369
...
6d76072
simplewallet: remove double confirmation when submitting signed tx (moneromooo-monero)
92dea04
wallet2: fix wrong change being recorded for cold signed txes (moneromooo-monero)
8 years ago
Riccardo Spagni
ce8a2315cf
Merge pull request #1364
...
f025198
Added task_region - a fork/join task implementation (Lee Clagett)
8 years ago
Riccardo Spagni
3fa1b6623a
Merge pull request #1361
...
1d9e223
rpc: do not include output indices for pool txes (moneromooo-monero)
e227d6e
rpc: bump version after RPC changes (moneromooo-monero)
2c0173c
Add a get_outs (fully text based) version of get_outs.bin (moneromooo-monero)
e05907b
rpc: add output indices to gettransactions (moneromooo-monero)
8 years ago
Riccardo Spagni
a26b27f66e
Merge pull request #1358
...
7abfc54
wallet: fix exporting outputs and key images with txes with two pubkeys (moneromooo-monero)
8 years ago
Riccardo Spagni
25369df4d8
Merge pull request #1357
...
5fc36f9
wallet2_api: fix history leak on destruction (moneromooo-monero)
8 years ago
Riccardo Spagni
f801dc8567
Merge pull request #1356
...
69b188c
wallet2_api: fix payment ids from integrated addresses being ignored (moneromooo-monero)
8 years ago
Riccardo Spagni
570acdc686
Merge pull request #1352
...
d01f5c7
wallet2: fix illegal memory access removing newlines from password (moneromooo-monero)
8 years ago
Riccardo Spagni
2121f3b2f0
Merge pull request #1351
...
e6264a2
wallet2: fix decrypting a bit too much in authenticated mode (moneromooo-monero)
8 years ago
moneromooo-monero
17b6bd6d35
Fix DNS failures in offline mode preventing daemon startup
8 years ago
moneromooo-monero
6d76072612
simplewallet: remove double confirmation when submitting signed tx
8 years ago
moneromooo-monero
92dea04929
wallet2: fix wrong change being recorded for cold signed txes
8 years ago
Lee Clagett
f025198f19
Added task_region - a fork/join task implementation
8 years ago
moneromooo-monero
1d9e223944
rpc: do not include output indices for pool txes
...
Those aren't yet in the blockchain, so will not be found
(and aren't yet known, since it depends on where exactly the
tx will be mined in the next block or blocks)
8 years ago
moneromooo-monero
e227d6e7ac
rpc: bump version after RPC changes
8 years ago
moneromooo-monero
2c0173c722
Add a get_outs (fully text based) version of get_outs.bin
8 years ago
moneromooo-monero
e05907b3e7
rpc: add output indices to gettransactions
...
Someone apparently needs that to make a wallet but never asked.
If you read that and that's not what you wanted, the bugtracker
is at https://github.com/monero-project/monero/issues
8 years ago
moneromooo-monero
7abfc5474c
wallet: fix exporting outputs and key images with txes with two pubkeys
...
This also needs to make sure to pick the correct one, in the case
where cold signing caused to tx keys to be included.
8 years ago
moneromooo-monero
5fc36f981c
wallet2_api: fix history leak on destruction
8 years ago
moneromooo-monero
69b188c4b2
wallet2_api: fix payment ids from integrated addresses being ignored
8 years ago
Dion Ahmetaj
fd181b03bb
Clamp refresh from height to blockchain height.
8 years ago
moneromooo-monero
d01f5c7f1f
wallet2: fix illegal memory access removing newlines from password
8 years ago
moneromooo-monero
e6264a2c35
wallet2: fix decrypting a bit too much in authenticated mode
8 years ago
Riccardo Spagni
dbf2ab56c5
Merge pull request #1346
...
4eb7347
wallet: return fee in transfer RPC (moneromooo-monero)
8 years ago
Riccardo Spagni
5df6f0be80
Merge pull request #1318
...
4fca34d
Wallet2: calculate approximate blockchain height on offline creation (Jacob Brydolf)
8 years ago
Riccardo Spagni
2988e1be8c
Merge pull request #1344
...
a0131c8
wallet: auto sync outputs and key images in cold signing files (moneromooo-monero)
f806611
wallet2: fill key image and pubkey maps when importing outputs (moneromooo-monero)
5fe363c
wallet: cast indices to string in logs to be nice to CLANG (moneromooo-monero)
11ae187
wallet2: try all tx keys when scanning a new transaction (moneromooo-monero)
072d646
wallet2: fill in key image map when importing key images (moneromooo-monero)
23d80b1
core: remove any tx pubkey from extra before adding one (moneromooo-monero)
d72376d
simplewallet: add a verbose flag to incoming_transfers (moneromooo-monero)
47413a5
simplewallet: spell out change when signing a transfer (moneromooo-monero)
14cb088
simplewallet: print public keys too on spendkey/viewkey commands (moneromooo-monero)
a99ab49
wallet: fix serialization of new m_key_image_known member (moneromooo-monero)
8 years ago
Riccardo Spagni
b7b54b6cff
Merge pull request #1336
...
bd4da18
simplewallet: include amount sent in transfer confirmation (moneromooo-monero)
8 years ago
moneromooo-monero
4eb7347fdd
wallet: return fee in transfer RPC
8 years ago
moneromooo-monero
a0131c8be3
wallet: auto sync outputs and key images in cold signing files
...
When passing around unsigned and signed transactions, outputs
and key images are passed along (outputs are passed along unsigned
transactions from the hot wallet to the cold wallet, key images
are passed along with signed transations from the cold wallet
to the hot wallet), to allow more user friendly syncing between
hot and cold wallets.
8 years ago
moneromooo-monero
f8066116dd
wallet2: fill key image and pubkey maps when importing outputs
8 years ago
moneromooo-monero
5fe363cd22
wallet: cast indices to string in logs to be nice to CLANG
8 years ago
moneromooo-monero
11ae1873f8
wallet2: try all tx keys when scanning a new transaction
...
The vast majority of transactions will have just one tx pubkey,
but a bug with cold wallet signing caused two such keys to be
there, with the second one being the real one.
8 years ago
moneromooo-monero
072d646a45
wallet2: fill in key image map when importing key images
8 years ago
moneromooo-monero
23d80b15fd
core: remove any tx pubkey from extra before adding one
...
This will happen when signing a transaction from a cold wallet,
and we don't want the placeholder the hot wallet put in it.
8 years ago
moneromooo-monero
d72376d467
simplewallet: add a verbose flag to incoming_transfers
...
Prints pubkey and key image as well
8 years ago
moneromooo-monero
47413a5626
simplewallet: spell out change when signing a transfer
...
Also catch change to multiple addresses, this is unexpected
8 years ago
moneromooo-monero
14cb088300
simplewallet: print public keys too on spendkey/viewkey commands
8 years ago
moneromooo-monero
a99ab49dd5
wallet: fix serialization of new m_key_image_known member
8 years ago
moneromooo-monero
bd4da18525
simplewallet: include amount sent in transfer confirmation
8 years ago
moneromooo-monero
d48f2e9bc6
wallet: fix serialization of new m_key_image_known member
8 years ago
Riccardo Spagni
9363b2ac19
Merge pull request #1334
...
265e460
Fixed generate-from-json bug introduced in 358e068
(Lee Clagett)
8 years ago
Lee Clagett
265e4605ec
Fixed generate-from-json bug introduced in 358e068
8 years ago
Jacob Brydolf
4fca34ddb4
Wallet2: calculate approximate blockchain height on offline creation
...
Wallet API: add approximateBlockChainHeight()
8 years ago
iDunk5400
e1dd15b050
Don't build monero-wallet-rpc when building the GUI
8 years ago
moneromooo-monero
70d4915980
wallet: add version dependency to the wallet target
8 years ago
Riccardo Spagni
6a2bb62827
Merge pull request #1316
...
358e068
Created monero-wallet-rpc, moving functionality from monero-wallet-cli (Lee Clagett)
8 years ago
Riccardo Spagni
524ff61ad5
Merge pull request #1321
...
0e418d2
rpc: bump RPC version (moneromooo-monero)
8 years ago
Riccardo Spagni
a3cd7230f8
Merge pull request #1315
...
9150a16
Wallet API: use stored refresh height when rebuilding cache (Jacob Brydolf)
8 years ago
Riccardo Spagni
3fd13080b7
Merge pull request #1314
...
63772e4
wallet: fix corner case of no recent outputs available (moneromooo-monero)
8 years ago
Riccardo Spagni
0e0bf432a4
Merge pull request #1313
...
1669621
wallet2_api: support for sweeping all (moneromooo-monero)
8 years ago
Riccardo Spagni
5f568533aa
Merge pull request #1263
...
d61bd81
add lightweight block propagation ("fluffy blocks") (Dion Ahmetaj)
8 years ago
moneromooo-monero
0e418d2a58
rpc: bump RPC version
...
I forgot to bump it previously when changing RPC, most notably
for the addition of the unlocked field in the histogram RPC.
This causes new wallets to not realize when they're talking to
an older daemon, and get confused trying to get outputs to use
as fake outs. This otherwise gratuitous bump ensures than old
daemons will be detected by wallets using this code.
8 years ago
Lee Clagett
358e068e87
Created monero-wallet-rpc, moving functionality from monero-wallet-cli
8 years ago
moneromooo-monero
1669621937
wallet2_api: support for sweeping all
8 years ago
Dion Ahmetaj
d61bd8187e
add lightweight block propagation ("fluffy blocks")
...
Added a new command to the P2P protocol definitions to allow querying for support flags.
Implemented handling of new support flags command in net_node. Changed for_each callback template to include support flags. Updated print_connections command to show peer support flags.
Added p2p constant for signaling fluffy block support.
Added get_pool_transaction function to cryptnote_core.
Added new commands to cryptonote protocol for relaying fluffy blocks.
Implemented handling of fluffy block command in cryptonote protocol.
Enabled fluffy block support in node initial configuration.
Implemented get_testnet function in cryptonote_core.
Made it so that fluffy blocks only run on testnet.
8 years ago
Jacob Brydolf
9150a16ed1
Wallet API: use stored refresh height when rebuilding cache
8 years ago
moneromooo-monero
63772e4048
wallet: fix corner case of no recent outputs available
...
Also clarify related logs
8 years ago
Riccardo Spagni
38727f7d2f
Merge pull request #1312
...
acf908c
thread_group: fix build with asserts enabled (moneromooo-monero)
8 years ago
Riccardo Spagni
7931cb19ef
Merge pull request #1311
...
5c4cb96
cryptonote_protocol: drop connection when find_blockchain_supplement fails (moneromooo-monero)
8 years ago
Riccardo Spagni
dc5e0e45cd
Merge pull request #1310
...
40a68e2
wallet2_api: add API for create_unmixable_sweep_transactions (moneromooo-monero)
8 years ago
Riccardo Spagni
56c594a8fe
Merge pull request #1309
...
c441a61
wallet2_api: API to sign and verify a message (moneromooo-monero)
8 years ago
Riccardo Spagni
06ca304b06
Merge pull request #1307
...
4dcb74f
wallet_api: PendingTransaction::txCount - number of split transactions (Ilya Kitaev)
8 years ago
Riccardo Spagni
144a7f090a
Merge pull request #1305
...
c80f4d4
wallet: fix output collision detection for view wallets (moneromooo-monero)
8 years ago
moneromooo-monero
acf908c834
thread_group: fix build with asserts enabled
...
See https://github.com/monero-project/monero/pull/1291
8 years ago
moneromooo-monero
5c4cb96cfb
cryptonote_protocol: drop connection when find_blockchain_supplement fails
...
This will be when we can't find common ground between the peer's
short chain history and our blockchain.
This fixes bad peers claiming a higher blockchain height from never
dropped, and keeping the node in synchronizing state forever, since
we will never get blocks from that peer.
8 years ago
moneromooo-monero
c441a61ef6
wallet2_api: API to sign and verify a message
8 years ago
Ilya Kitaev
4dcb74f97f
wallet_api: PendingTransaction::txCount - number of split transactions
8 years ago
Riccardo Spagni
e8a55db29d
Merge pull request #1308
...
0c530de
Wallet API: Pause refresh while creating transaction (Jacob Brydolf)
8 years ago
Riccardo Spagni
18fdd8116e
Merge pull request #1306
...
8aba0d4
wallet: encrypt outputs and key images files with the view key (moneromooo-monero)
8 years ago
Riccardo Spagni
7c7a6cf2f8
Merge pull request #1302
...
63fe6fd
wallet2_api: allow connection to return "yes, but wrong version" (moneromooo-monero)
8 years ago
Riccardo Spagni
96e0138ebf
Merge pull request #1301
...
35da3cb
Wallet API: added getTxKey() (Jacob Brydolf)
8 years ago
Jacob Brydolf
35da3cb074
Wallet API: added getTxKey()
8 years ago
Riccardo Spagni
c57ce06a97
Merge pull request #1300
...
eb19492
wallet2_api: do not copy the whole pending tx when iterating (moneromooo-monero)
8 years ago
Riccardo Spagni
af2ceb29fa
Merge pull request #1298
...
97288a5
wallet2_api: add API for tx notes (moneromooo-monero)
8 years ago
Riccardo Spagni
c05cecf036
Merge pull request #1297
...
af8a260
wallet_api: txkey checking functions for the GUI (moneromooo.monero)
8 years ago
Riccardo Spagni
dce47d52af
Merge pull request #1291
...
64094e5
adding thread_group for managing async tasks (Lee Clagett)
8 years ago
Riccardo Spagni
4c44d896d3
Merge pull request #1285
...
a970a4e
refresh speedup (luigi1111)
8 years ago
Riccardo Spagni
0fa6cbef3f
Merge pull request #1276
...
18f66f4
wallet: use the dynamic per kB fee (moneromooo-monero)
e6deb8a
rpc: add a dynamic fee estimation RPC call (moneromooo-monero)
82dbba1
core: dynamic fee algorithm from ArticMine (moneromooo-monero)
8 years ago
moneromooo-monero
40a68e22fa
wallet2_api: add API for create_unmixable_sweep_transactions
8 years ago
Jacob Brydolf
0c530de057
Wallet API: Pause refresh while creating transaction
8 years ago
moneromooo-monero
8aba0d4b4c
wallet: encrypt outputs and key images files with the view key
...
This key is available to both cold and hot wallet.
Authenticated encryption will guard against interception and/or
modification of the file.
8 years ago
moneromooo-monero
c80f4d416d
wallet: fix output collision detection for view wallets
...
View wallets do not have the spend secret key, and are thus
unable to derive key images for incoming outputs. Moreover,
a previous patch set key images to zero as a means to mark
an output as having an unknown key image, so they could be
filled in when importing key images at a later time. That
later patch caused spurious collisions. We now use public
keys to detect duplicate outputs. Public keys obtained from
the blockchain are checked to be identical to the ones
derived locally, so can't be spoofed.
8 years ago
moneromooo-monero
63fe6fd9ba
wallet2_api: allow connection to return "yes, but wrong version"
8 years ago
moneromooo-monero
eb194925ec
wallet2_api: do not copy the whole pending tx when iterating
8 years ago
moneromooo-monero
97288a5ce2
wallet2_api: add API for tx notes
8 years ago
moneromooo.monero
af8a2600aa
wallet_api: txkey checking functions for the GUI
8 years ago
Lee Clagett
64094e5f4e
adding thread_group for managing async tasks
8 years ago
moneromooo-monero
b5d6faada3
wallet: fix bad amounts/fees again
...
m_amount_out was sometimes getting initialized with the sum of
an transaction's outputs, and sometimes with the sum of outputs
that were not change. This caused confusion and bugs. We now
always set it to the sum of outputs. This reverts an earlier
fix for bad amounts as this used the other semantics. The wallet
data should be converted automatically in a percentage of cases
that I'm hesitant to estimate. In any case, restoring from seed
or keys or rebuilding the cache will get it right.
8 years ago
Riccardo Spagni
d51f1af75f
Merge pull request #1272
...
48b57d8
monero.supp: valgrind suppressions file (moneromooo-monero)
ffd8c41
ringct: check the size of amount_keys is the same as destinations (moneromooo-monero)
836669d
ringct: always shutdown the boost io service (moneromooo-monero)
8 years ago
luigi1111
a970a4e3cf
refresh speedup
...
Compute derivation only once per tx, instead of once per output. Approx 33% faster while using 75% as much CPU on my machine. Note old functions in cryptonote_core (lookup_acc_outs and is_out_to_acc) are still used by tests.
8 years ago
Riccardo Spagni
b06c1abaa6
Merge pull request #1278
...
43ec2d0
Wallet API: added walletExists logic (Jacob Brydolf)
8 years ago
Riccardo Spagni
6f85b20d92
Merge pull request #1283
...
4869db7
adding static_assert to pod functions in string tools (Lee Clagett)
8 years ago
Riccardo Spagni
f189fe51ac
Merge pull request #1282
...
f5ccfa4
core: fix removal of extra nonce using wrong type (moneromooo-monero)
3c2cad2
Revert "remove cn_deserialize" (moneromooo-monero)
8 years ago
Riccardo Spagni
d53bc2eddf
Merge pull request #1281
...
bb560dd
wallet: new import_outputs/export_outputs commands (moneromooo-monero)
8 years ago
Riccardo Spagni
95e0010fbb
Merge pull request #1277
...
7e6d3cf
wallet: set incoming outputs' key image to 0 on view wallets (moneromooo-monero)
1f9e6a4
wallet: print tx overview on submit_transfer too (moneromooo-monero)
8 years ago
Riccardo Spagni
77284c026f
Merge pull request #1275
...
4bfb81a
simplewallet: remove destinations with zero amount in sign_transfer (moneromooo-monero)
8 years ago
Lee Clagett
4869db702a
adding static_assert to pod functions in string tools
8 years ago
moneromooo-monero
18f66f44ef
wallet: use the dynamic per kB fee
8 years ago
moneromooo-monero
e6deb8abda
rpc: add a dynamic fee estimation RPC call
8 years ago
moneromooo-monero
82dbba10d4
core: dynamic fee algorithm from ArticMine
...
The fee will vary based on the base reward and the current
block size limit:
fee = (R/R0) * (M0/M) * F0
R: base reward
R0: reference base reward (10 monero)
M: block size limit
M0: minimum block size limit (60000)
F0: 0.002 monero
Starts applying at v4
8 years ago
moneromooo-monero
f5ccfa4001
core: fix removal of extra nonce using wrong type
8 years ago
moneromooo-monero
3c2cad2d46
Revert "remove cn_deserialize"
...
This is useful (to me).
This reverts commit f968ccb9d3
.
8 years ago
moneromooo-monero
bb560dd814
wallet: new import_outputs/export_outputs commands
...
The intended use is to export outputs from a hot wallet, which
can scan incoming transfers from the network, and import them
in the cold wallet, which can't. The cold wallet can then compute
key images for those outputs, which can then be exported with
export_key_images, etc.
8 years ago
Jacob Brydolf
43ec2d002a
Wallet API: added walletExists logic
8 years ago
moneromooo-monero
7e6d3cf441
wallet: set incoming outputs' key image to 0 on view wallets
...
This allows rescan_spent to know the daemon response to those
is not valid.
8 years ago
moneromooo-monero
1f9e6a46d8
wallet: print tx overview on submit_transfer too
...
This is on the potentially compromised wallet, but still guards
against stupid mistakes.
8 years ago
moneromooo-monero
4bfb81a7f5
simplewallet: remove destinations with zero amount in sign_transfer
...
This will happen when sending to another address, after removing
the fee.
8 years ago
NanoAkron
f71b06770b
Changed to ..._HASHBITS everywhere for consistency
8 years ago
moneromooo-monero
ffd8c41f36
ringct: check the size of amount_keys is the same as destinations
8 years ago
moneromooo-monero
836669d276
ringct: always shutdown the boost io service
...
Even if no worker threads were started, it needs shutting down
or it will cause an invalid access in the io service thread
8 years ago
Riccardo Spagni
83b0511731
Merge pull request #1270
...
fdef09f
Wallet API: make sure path exists before searching for wallets (Jacob Brydolf)
8 years ago
Riccardo Spagni
3365f770dd
Merge pull request #1261
...
069d688
simplewallet: log transactions to submit in submit_transfer (moneromooo-monero)
31abac4
wallet: fix pre-rct cold wallet signing not splitting change (moneromooo-monero)
8 years ago
Riccardo Spagni
6a303b9a3a
Merge pull request #1254
...
eb4ecd4
daemon: fix min/max tracking using the wrong size (moneromooo-monero)
8 years ago
Riccardo Spagni
971f3ae031
Merge pull request #1251
...
59f0d4b
ringct: some more small optimizations (moneromooo-monero)
8 years ago
Jacob Brydolf
fdef09f11c
Wallet API: make sure path exists before searching for wallets
8 years ago
moneromooo-monero
069d688cf7
simplewallet: log transactions to submit in submit_transfer
...
Not as trustworthy as this is in the view wallet, the one
that's considered compromised.
8 years ago
moneromooo-monero
31abac4daf
wallet: fix pre-rct cold wallet signing not splitting change
...
Re-creating the transaction on the cold wallet was not splitting
the change, causing the transaction to be rejected by the network.
This worked on testnet since amounts do not have to be split.
Also add selected_transfers, which can now be saved since they're
size_t rather than iterators. This allows the view wallet to
properly set the sent outputs as spent and update balance.
Bump transfer file version numbers to match.
8 years ago
moneromooo-monero
eb4ecd442d
daemon: fix min/max tracking using the wrong size
...
Reported by iDunk
8 years ago
moneromooo-monero
30946700a3
daemon: even when switching branches, compile the damn thing ffs
8 years ago
moneromooo-monero
2f4f6c7c26
daemon: do not divide by 0 when the pool is empty
8 years ago
Riccardo Spagni
6a2157b610
Merge pull request #1245
...
ff88252
simplewallet: factor locked_transfer, and fix a few rough edges (moneromooo-monero)
8 years ago
Riccardo Spagni
a0975e59ed
Merge pull request #1250
...
839280d
daemon: add a print_pool_stats daemon command (moneromooo-monero)
8 years ago
moneromooo-monero
ff8825210d
simplewallet: factor locked_transfer, and fix a few rough edges
...
Factor locked_transfer into transfer_main, which brings various
improvements for free (multiple addresses, proper detection of
multiple payment ids, obeying the prompt settings).
Also fix a few things, such as using uint64_t instead of int
for block heights, actually checking whether getting blockchain
height succeeded, etc.
8 years ago
Riccardo Spagni
854abeb3bb
Merge pull request #1247
...
10a79ea
daemon: report transaction relay status in print_pool* commands (moneromooo-monero)
1e16366
core: notify the txpool when transactions are relayed (moneromooo-monero)
f3c374f
tx_pool: set relayed flag on relay (moneromooo-monero)
8 years ago
Riccardo Spagni
4e98d2958c
Merge pull request #1246
...
372f338
wallet: sanity check on selected transfer indices in signed ptx (moneromooo-monero)
8 years ago
Riccardo Spagni
31ceb830e5
Merge pull request #1239
...
12d8616
perf_timer: format string fix for 32 bits (moneromooo-monero)
8 years ago
Riccardo Spagni
92095104fe
Merge pull request #1230
...
06b642d
wallet_api: add address validation functions (moneromooo-monero)
8 years ago
moneromooo-monero
839280d5fc
daemon: add a print_pool_stats daemon command
...
Helps see what's going on now that Monero is getting used
8 years ago
moneromooo-monero
59f0d4b574
ringct: some more small optimizations
8 years ago
moneromooo-monero
10a79eae24
daemon: report transaction relay status in print_pool* commands
8 years ago
moneromooo-monero
1e163666f3
core: notify the txpool when transactions are relayed
8 years ago
Riccardo Spagni
4f6ea2eb6a
Merge pull request #1229
...
b6b86ab
wallet2_api: recognize full size payment ids as valid (moneromooo-monero)
8 years ago
Riccardo Spagni
b3d4505ae1
Merge pull request #1228
...
2bf65df
wallet_api: do not override invalid payment id (moneromooo-monero)
8 years ago
Riccardo Spagni
09f62ed33e
Merge pull request #1225
...
04da979
Always confirm transfers defaults to ON/YES (NanoAkron)
8 years ago
Riccardo Spagni
f800390ccc
Merge pull request #1224
...
8231997
simplewallet: fix sweep_all misreporting sweeped amount for rct outputs (moneromooo-monero)
985f61a
wallet: force 0 mixin transactions to use pre-rct txes (moneromooo-monero)
8 years ago
Riccardo Spagni
7c5431624e
Merge pull request #1223
...
0950be9
wallet: speed up output selection, and fix bug with relatedness calculation (moneromooo-monero)
0eba133
wallet: fix mixup between mixin 2 and 4 before/after v5 (moneromooo-monero)
8 years ago
Riccardo Spagni
b9f31bbc10
Merge pull request #1222
...
5e10fb0
rpc: add blockchain cumulative difficulty to getinfo call (moneromooo-monero)
8 years ago
Riccardo Spagni
7426b5374f
Merge pull request #1221
...
094f4c8
rpc: add missing top block hash to json getinfo call (moneromooo-monero)
8 years ago
Riccardo Spagni
9feb358e46
Merge pull request #1220
...
e76dcdd
wallet: improve error messages when not enough money for transfer (moneromooo-monero)
8 years ago
Riccardo Spagni
e48ef1684c
Merge pull request #1219
...
2d7083c
wallet_api: fix wrong amount in tx history (moneromooo-monero)
b5f2001
simplewallet: fix wrong amount in show_transfers (moneromooo-monero)
8 years ago
Riccardo Spagni
2bb0bdc8b8
Merge pull request #1218
...
3429bfb
ringct: thread verRct and verRctSimple (moneromooo-monero)
e06a4da
ringct: remove unneeded type conversions (moneromooo-monero)
afc70df
ringct: reserve space in vectors to avoid excessive reallocation (moneromooo-monero)
9ebf7b6
ringct: avoid unnecessary memcpy (moneromooo-monero)
1fe75c1
ringct: add a few consts where possible (moneromooo-monero)
ab002a1
ringct: pass vectors by const ref where possible (moneromooo-monero)
8 years ago
Riccardo Spagni
af2b1ec606
Merge pull request #1216
...
9c73128
Change default dust threshold to equal fee per kb (AwfulCrawler)
8 years ago
Riccardo Spagni
b53c9e5549
Merge pull request #1200
...
a3748f4
Rewrote add_wallet_create_if_needed for clearer flow and behaviour (NanoAkron)
8 years ago
moneromooo-monero
f3c374fe08
tx_pool: set relayed flag on relay
8 years ago
moneromooo-monero
372f338682
wallet: sanity check on selected transfer indices in signed ptx
8 years ago
moneromooo-monero
12d861694d
perf_timer: format string fix for 32 bits
8 years ago
Riccardo Spagni
d63fabdc62
Merge pull request #1215
...
a6bc110
patched parameter type bug that was causing failure on 32 bit (Dion Ahmetaj)
8 years ago
moneromooo-monero
06b642dfe4
wallet_api: add address validation functions
...
The payment id from integrated addresses is also parsed
8 years ago
moneromooo-monero
b6b86ab347
wallet2_api: recognize full size payment ids as valid
8 years ago
moneromooo-monero
2bf65dfb8d
wallet_api: do not override invalid payment id
...
Instead, return an empty string to mark the error
8 years ago
NanoAkron
a3748f40ea
Rewrote add_wallet_create_if_needed for clearer flow and behaviour
8 years ago
NanoAkron
04da979f46
Always confirm transfers defaults to ON/YES
8 years ago
moneromooo-monero
8231997b66
simplewallet: fix sweep_all misreporting sweeped amount for rct outputs
...
RingCT outputs will be 0 in the vin, so we need to get the actual
amount from elsewhere.
8 years ago
moneromooo-monero
985f61a4ec
wallet: force 0 mixin transactions to use pre-rct txes
...
rct transactions does not support 0 mixin, and those are
now typically dust sweep transactions, for which a lower
fee is a must.
8 years ago
moneromooo-monero
88faec75fe
wallet: select part of the fake outs from recent outputs
...
25% of the outputs are selected from the last 5 days (if possible),
in order to avoid the common case of sending recently received
outputs again. 25% and 5 days are subject to review later, since
it's just a wallet level change.
8 years ago
moneromooo-monero
0950be9e34
wallet: speed up output selection, and fix bug with relatedness calculation
8 years ago
moneromooo-monero
0eba1335be
wallet: fix mixup between mixin 2 and 4 before/after v5
8 years ago
moneromooo-monero
5e10fb042d
rpc: add blockchain cumulative difficulty to getinfo call
8 years ago
moneromooo-monero
094f4c8cc6
rpc: add missing top block hash to json getinfo call
8 years ago
moneromooo-monero
e76dcdd810
wallet: improve error messages when not enough money for transfer
8 years ago
moneromooo-monero
2d7083ca56
wallet_api: fix wrong amount in tx history
8 years ago
moneromooo-monero
b5f20012d3
simplewallet: fix wrong amount in show_transfers
8 years ago
moneromooo-monero
3429bfb71d
ringct: thread verRct and verRctSimple
8 years ago