Commit Graph

119 Commits

Author SHA1 Message Date
Ivan Socolsky 30494a8133
fetch address by walletId/coin 2017-08-31 11:59:30 -03:00
magmahindenburg b47dfaeb95 Added an index for copayerId in sessions 2017-08-16 14:51:25 +09:00
Ivan Socolsky c87350d7ef
send notification 2017-05-24 10:27:25 -03:00
Ivan Socolsky fdea614d81
storage fns for tx confirmation subs 2017-05-24 10:27:25 -03:00
Ivan Socolsky 8e60cf01de
avoid storing empty collection 2017-04-13 12:35:15 -03:00
Ivan Socolsky 4fd339da29
store address index even when no new addresses are generated 2017-04-13 11:57:40 -03:00
Ivan Socolsky fd7e26372c
fix index definition 2017-02-03 11:35:16 -03:00
Ivan Socolsky bfcd14d297
add supporting methods for storing/fetching/removing subscriptions 2017-02-02 15:18:45 -03:00
Ivan Socolsky 09e778212c Revert "Remove two step balance & active addresses cache" 2017-01-11 18:15:00 -03:00
Ivan Socolsky 098aad0a21
restore cache collection for tx history 2016-12-05 15:24:38 -03:00
Ivan Socolsky 82aa97e65c
rm two step balance & active addresses cache 2016-12-05 15:17:36 -03:00
Ivan Socolsky 4fd990772c
login/logout & authenticate with session token 2016-11-22 10:20:56 -03:00
Ivan Socolsky 00b53ac4cb
add index to TXS & TX_NOTES 2016-10-31 14:24:28 -03:00
Ivan Socolsky 4e7f1f39d9
rebase 2016-08-06 00:15:50 -03:00
Ivan Socolsky 8342d22041
store txs individually
Conflicts:
	lib/storage.js
	test/integration/server.js
2016-08-06 00:11:55 -03:00
Matias Alejo Garcia f7ec6e3a0b
implement "buckets" to split big values in mongodb 2016-07-29 18:15:25 -03:00
Matias Alejo Garcia b3090c6352
no result fix 2016-07-29 13:05:42 -03:00
Matias Alejo Garcia 77547e65aa
fix padding last request 2016-07-29 11:51:45 -03:00
Matias Alejo Garcia c220a09354
fix bug when asking beyong cache limit 2016-07-29 11:38:03 -03:00
Matias Alejo Garcia 926506c394
add cache resets 2016-07-29 10:39:01 -03:00
Matias Alejo Garcia 9a09050646
better tests 2016-07-29 08:52:36 -03:00
Matias Alejo Garcia 5db61703b4
better tests 2016-07-27 09:46:20 -03:00
Matias Alejo Garcia 35f44b4636
store history cache 2016-07-26 21:10:49 -03:00
Matias Alejo Garcia e8a687d59e
fetch address 2016-07-26 17:55:29 -03:00
Carlos Faria 51faf1acf3 Update storage.js
Remove the log of mongoDB credentials. For security reasons.
2016-06-09 18:55:22 +01:00
Ivan Socolsky fe2f0a7d10
allow empty notes 2016-06-07 09:15:28 -03:00
Ivan Socolsky b638ed08dd
fill editedByName field 2016-06-01 15:27:28 -03:00
Ivan Socolsky 3d7a12f3ab
filter txs broadcasted in the last 24hs only 2016-05-24 11:07:30 -03:00
Ivan Socolsky 253320ed84
get all notes from a given ts 2016-05-23 09:55:25 -03:00
Ivan Socolsky fa1c63ac66
decorate tx history with notes 2016-05-23 09:55:24 -03:00
Ivan Socolsky 5abe6fac51
edit/retrieve notes + tests 2016-05-23 09:55:24 -03:00
Ivan Socolsky c8d8af7d1d create compound index for walletId, createdOn. drop old index 2016-03-07 09:59:15 -03:00
Ivan Socolsky 0922a5fa6e integration tests 2016-01-13 16:03:05 -03:00
Ivan Socolsky 450da4ecdc add fiat rate service 2016-01-13 16:03:05 -03:00
Ivan Socolsky 4198d5c47c handle initial conditions (empty cache) 2015-12-14 17:04:37 -03:00
Ivan Socolsky 072aed5cc1 cache address strings only 2015-12-10 14:40:43 -03:00
Ivan Socolsky 9868cd7c34 fix tests 2015-12-10 13:03:17 -03:00
Ivan Socolsky 0ab57133fd fix tests 2015-12-10 13:03:17 -03:00
Ivan Socolsky 94a376ca33 store cached data in db 2015-12-10 13:03:17 -03:00
Ivan Socolsky 5755b965e8 use TxProposal#fromObj as a factory for proposals 2015-12-08 10:30:26 -03:00
Ivan Socolsky 9db456550f create temporary proposal + test 2015-12-08 10:30:26 -03:00
Ivan Socolsky 563ee14dc1 txproposal.js -> txproposal_legacy.js 2015-12-08 10:30:26 -03:00
Ivan Socolsky 1b6980fd1e call toObject before storing models 2015-11-23 17:28:02 -03:00
Ivan Socolsky 446d7ff2e5 tx.derivationStragegy = wallet.derivationSTrategy 2015-11-11 12:14:07 -03:00
Ivan Socolsky 69dda0ed6a remove unused walletId param 2015-10-29 16:35:30 -03:00
Ivan Socolsky 0b43b3b85c cache address activity 2015-10-28 13:23:13 -03:00
Ivan Socolsky 92944d1d40 remove old fetchNotifications method 2015-10-19 14:27:29 -03:00
Ivan Socolsky bf40b5a000 getLatestNotifications -> getNotifications 2015-10-15 16:01:23 -03:00
Ivan Socolsky b23f412bf3 getLatestNotifications + tests 2015-10-15 16:01:23 -03:00
Ivan Socolsky 4575262513 implement check 2015-09-11 11:15:46 -03:00