repo.or.cz
/
bitcoinplatinum.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Add required space to [[ -n "$1" ]] (previously [[ -n"$1" ]])
2017-10-18
prac
t
icalswift
Add r
e
q
u
ired sp
a
ce to [[
-n "$1" ]] (previ
o
u
s
ly [[
.
.
.
commit
|
commitdiff
|
tree
2017-10-18
practicalswi
f
t
A
dd error handlin
g
: exit if cd
f
ails
commit
|
commitdiff
|
tree
2017-10-18
pract
i
calswift
Rem
o
ve "
\
n" from
ech
o
argument
.
echo does
n
ot suppo
r
t
.
.
.
commit
|
commitdiff
|
tree
2017-10-18
practicalswift
Remove unused variab
l
es
commit
|
commitdiff
|
tree
2017-10-13
p
racticalswift
Avo
i
d divisi
o
n by zero in the case o
f
a corrup
t
es
t
i
m
ates
.
.
.
commit
|
commitdiff
|
tree
2017-10-09
practicalswift
Remove accidental st
r
ay semicolon
commit
|
commitdiff
|
tree
2017-10-09
pr
a
cticalswift
Use nullptr inst
e
ad of NUL
L
commit
|
commitdiff
|
tree
2017-10-09
practicalswift
F
ix a vs
.
an typo
commit
|
commitdiff
|
tree
2017-10-04
pra
c
ti
c
alswift
build: Make "m
a
ke
c
lean" remo
v
e all fil
e
s
c
reat
e
d when
.
.
.
commit
|
commitdiff
|
tree
2017-10-02
pr
a
cticalswift
Avoid NULL pointer dereference w
h
en _walletMode
l
i
s
.
.
.
commit
|
commitdiff
|
tree
2017-10-02
practicalswift
Use two bool
e
an
l
ite
r
als instead of r
e
-
u
sing variable
commit
|
commitdiff
|
tree
2017-10-02
pract
i
calswift
Rem
o
v
e
d
uplicate uriP
a
r
t
s
.
size() > 0 check
commit
|
commitdiff
|
tree
2017-10-02
pract
i
cal
s
wift
Remove redun
d
ant check (!ecc is
a
l
way
s
true)
commit
|
commitdiff
|
tree
2017-10-02
p
ract
i
calswift
Rem
o
ve
r
edundant
NULL checks af
t
er new
commit
|
commitdiff
|
tree
2017-09-08
practic
a
lswift
[
D
o
cs] Fix broken Mar
k
down ta
b
le in depen
d
enci
e
s
.
md
.
.
.
commit
|
commitdiff
|
tree
2017-09-06
practicalswi
f
t
Do
c
ument assumptions that are being made to avoid NULL
.
.
.
commit
|
commitdiff
|
tree
2017-09-06
practicalswi
f
t
[Q
t
] Terminat
e
str
i
n
g
*pszEx
e
P
a
th
after readli
n
k
a
nd
.
.
.
commit
|
commitdiff
|
tree
2017-08-28
practicalswift
Use for-loop
i
nstead of list compr
e
hension
commit
|
commitdiff
|
tree
2017-08-28
practicalswift
Use the
v
ariabl
e
name _
f
or unused retu
r
n value
s
commit
|
commitdiff
|
tree
2017-08-28
pra
c
tical
s
w
ift
Remove unused variables and/or
f
unction call
s
commit
|
commitdiff
|
tree
2017-08-28
practic
a
lswift
Av
o
id reference t
o
undefin
e
d na
m
e: stderr does
not
.
.
.
commit
|
commitdiff
|
tree
2017-08-28
practicalswift
Use print
(
.
.
.
) instead of und
e
fined
p
rintf(
.
.
.
)
commit
|
commitdiff
|
tree
2017-08-28
practicalswift
Us
e
s
ys
.
exit(
.
.
.
) instead o
f
exit(
.
.
.
): exi
t
(
.
.
.
)
sh
o
ul
d
.
.
.
commit
|
commitdiff
|
tree
2017-08-28
practical
s
w
i
ft
Document assumptions th
a
t
a
r
e being made
to
avoid divis
i
on
.
.
.
commit
|
commitdiff
|
tree
2017-08-24
practicals
w
if
t
Improve readability
of Decode
B
ase58Check(
.
.
.
)
commit
|
commitdiff
|
tree
2017-08-22
p
ractic
a
lswift
Add recommendation:
By
d
efault, declare
single-
a
r
g
ument
.
.
.
commit
|
commitdiff
|
tree
2017-08-19
practi
c
alswift
Build with --enable-werror under OS X
commit
|
commitdiff
|
tree
2017-08-18
practicalswift
Document the
p
r
efe
r
ence of nullptr ov
e
r NULL or
(void
*
)0
commit
|
commitdiff
|
tree
2017-08-16
practicalswift
Prefe
r
compi
l
e-
t
ime c
h
ecki
n
g over r
u
n-time
c
h
e
cking
commit
|
commitdiff
|
tree
2017-08-16
p
rac
t
i
c
alswift
Declare single-
a
rgu
m
e
nt
(non-c
o
n
v
erting) const
r
u
ctors
.
.
.
commit
|
commitdiff
|
tree
2017-08-16
practicalswift
Use null
p
tr ins
t
ead o
f
zero (0)
a
s
the null pointer
.
.
.
commit
|
commitdiff
|
tree
2017-08-14
practicalswift
wallet: Fix
me
m
ory
l
e
ak when
loading a c
o
rrupted wallet
.
.
.
commit
|
commitdiff
|
tree
2017-08-14
practica
l
s
wift
tests:
R
e
move OldSetKe
y
FromPassp
h
r
a
se/Ol
d
E
n
cryp
t
/
OldDecrypt
commit
|
commitdiff
|
tree
2017-08-14
practicalswift
Sk
i
p sys::system(
.
.
.
)
c
all in case of
e
mp
t
y command
commit
|
commitdiff
|
tree
2017-08-14
pr
a
c
ticalswi
f
t
Check
t
hat -blocknotify command is non-empty
before
.
.
.
commit
|
commitdiff
|
tree
2017-08-09
practicalswift
Remove the virtual speci
f
ier
for fu
n
ctions with t
h
e
.
.
.
commit
|
commitdiff
|
tree
2017-08-08
prac
t
icalswift
Fix typos
.
commit
|
commitdiff
|
tree
2017-08-07
practicalswift
sc
r
ipted-diff:
Use
t
he C++11 keyword nullptr to denote
.
.
.
commit
|
commitdiff
|
tree
2017-08-02
practicalswift
[
net] Fix use of
unini
t
i
al
i
zed value
in getnet
w
orkinfo
.
.
.
commit
|
commitdiff
|
tree
2017-08-02
prac
t
i
c
a
l
s
w
i
ft
Pass SendCoinsRecipient (208 bytes
)
b
y
const reference
commit
|
commitdiff
|
tree
2017-08-01
practi
c
a
l
swif
t
Avoid returning a BIP9St
a
ts object w
i
th uninitialized
.
.
.
commit
|
commitdiff
|
tree
2017-07-31
practicals
w
ift
R
estore default fo
r
mat state of cout
a
f
ter
p
rinting
.
.
.
commit
|
commitdiff
|
tree
2017-07-31
pra
c
ticalswift
Use the
noex
c
ept sp
e
ci
f
ier
(
C++11) ins
t
ea
d
of depreca
t
ed
.
.
.
commit
|
commitdiff
|
tree
2017-07-25
pra
c
ticalswift
[tests
]
Fix incorrect memory_cleanse(…) call
i
n crypto_tests
.
c
p
p
commit
|
commitdiff
|
tree
2017-07-25
practica
l
s
wift
Add const to method
s
t
h
a
t
d
o
no
t
mod
i
fy the obje
c
t
.
.
.
commit
|
commitdiff
|
tree
2017-07-18
pract
i
calswift
A
void redundant r
e
d
e
claration of
GetWar
n
ing
s
(con
s
t
.
.
.
commit
|
commitdiff
|
tree
2017-07-18
pract
i
c
a
l
s
w
ift
F
i
x
typo: "conditon" → "con
d
ition"
commit
|
commitdiff
|
tree
2017-07-18
practicalswift
Remove un
u
se
d
varia
b
le int64_t nEnd
commit
|
commitdiff
|
tree
2017-07-17
practicalsw
i
ft
Add
a
ttribut
e
[[noreturn]] (C++11) to functions that
.
.
.
commit
|
commitdiff
|
tree
2017-07-17
pr
a
cticalswift
E
nable d
e
virtualiza
t
ion opportunit
i
es by u
s
ing
the
.
.
.
commit
|
commitdiff
|
tree
2017-07-16
practic
a
lswift
Fix i
n
c
orre
c
t
Dox
y
gen ta
g
(
@ince → @since)
.
Make Doxyg
e
n
.
.
.
commit
|
commitdiff
|
tree
2017-07-16
practicalswift
Rem
o
ve unreachable code
commit
|
commitdiff
|
tree
2017-07-16
practicalswif
t
Remove dupli
c
ate
include
commit
|
commitdiff
|
tree
2017-07-15
p
r
acticalswift
Remove declaration of unu
s
ed
f
u
n
c
tion: void Updated
T
ransacti
.
.
.
commit
|
commitdiff
|
tree
2017-07-15
practicalswift
Fix ty
p
os
commit
|
commitdiff
|
tree
2017-07-15
practicalswi
f
t
Avoid stati
c
analyzer warnings regarding uninitiali
z
ed
.
.
.
commit
|
commitdiff
|
tree
2017-07-09
practicalswift
S
i
mplif
y
"!foo
|
| (foo && ba
r
)" as "!foo || bar"
commit
|
commitdiff
|
tree
2017-07-09
practi
c
als
w
ift
[
t
ests] Avoid
r
ed
u
n
d
ant a
s
signments
.
Remove
u
n
u
sed
.
.
.
commit
|
commitdiff
|
tree
2017-07-02
practic
a
lswif
t
Avoid prin
t
i
n
g incorrect block indexing time
due
t
o
.
.
.
commit
|
commitdiff
|
tree
2017-06-28
practicalswif
t
Use the override specifier (C++11) whe
r
e we expect
.
.
.
commit
|
commitdiff
|
tree
2017-06-27
p
r
acticals
w
i
f
t
[
qt] Avoid potential null pointer d
e
reference in Transactio
n
.
.
.
commit
|
commitdiff
|
tree
2017-06-21
practicalswift
Remove obsolete _MSC_VER check
commit
|
commitdiff
|
tree
2017-06-15
practic
a
lswift
Mak
e
clang-f
o
rm
a
t
us
e
C++11 features
(e
.
g
.
A<
A
<int
.
.
.
commit
|
commitdiff
|
tree
2017-06-14
pr
a
cticalswi
f
t
Net: Fix r
e
sou
r
ce l
e
ak in ReadBinaryFile(
.
.
.
)
commit
|
commitdiff
|
tree
2017-06-12
practicalswift
Remove unnecessary f
o
rwar
d
class declaratio
n
s in
he
a
der
.
.
.
commit
|
commitdiff
|
tree
2017-06-12
p
r
actical
s
wif
t
Re
m
ove un
r
e
a
chable or
otherwise redundant code
commit
|
commitdiff
|
tree
2017-06-11
practicalswift
Simpl
i
fy "bool x
= y ? true : false" to
"
bool x
= y"
commit
|
commitdiff
|
tree
2017-06-09
p
r
acticalsw
i
ft
R
e
move d
u
plicate inc
l
udes
commit
|
commitdiff
|
tree
2017-06-09
p
ractical
s
wift
Comment
ou
t
unu
s
ed
c
o
nst
a
n
t REJECT_DUS
T
commit
|
commitdiff
|
tree
2017-06-09
practicalswift
Use the "
d
omain name set
u
p" im
a
ge
(
previously unused
.
.
.
commit
|
commitdiff
|
tree
2017-06-09
pr
a
cticalswift
Remove
u
nused Boost i
n
cludes
commit
|
commitdiff
|
tree
2017-06-08
practicalswift
R
emove unus
e
d
con
s
tant MEMPOOL_GD_VER
S
ION
commit
|
commitdiff
|
tree
2017-06-08
practicals
w
ift
[test
s
] Re
m
ove
a
ccidental trailing
semicolon
commit
|
commitdiff
|
tree
2017-06-08
practicals
w
ift
[t
e
sts] Remove unused function I
n
secur
e
RandBytes(
s
ize
_
t
.
.
.
commit
|
commitdiff
|
tree
2017-06-07
pra
c
t
i
calsw
i
ft
[tests]
R
e
move printf(
.
.
.
)
commit
|
commitdiff
|
tree
2017-06-07
pra
c
ticalswift
[tests]
Use FastR
a
ndomContext i
n
s
t
ead of
b
oost
:
:ran
d
om
.
.
.
commit
|
commitdiff
|
tree
2017-06-07
p
ractic
a
lswift
Us
e
std::uno
r
der
e
d_{map,set} (C++11)
i
n
s
tead of boost
.
.
.
commit
|
commitdiff
|
tree
2017-06-06
pract
i
cal
s
wift
Use list ini
t
iali
z
ati
o
n
(C
+
+1
1
) for maps/vectors i
n
stead
.
.
.
commit
|
commitdiff
|
tree
2017-06-06
practicalswift
[trivial]
F
ix
t
y
po: "occurren
c
es" (mis
s
pelled a
s
"occurrances")
commit
|
commitdiff
|
tree
2017-06-04
practicals
w
ift
Limit
va
r
iab
l
e scope
commit
|
commitdiff
|
tree
2017-06-03
practi
c
alswift
Perform
m
em
b
er
initialization in initial
i
zation lists
.
.
.
commit
|
commitdiff
|
tree
2017-06-03
prac
t
ic
a
lswift
R
emove unused var
i
ables
commit
|
commitdiff
|
tree
2017-05-31
practic
a
l
s
w
ift
[trivial] Ad
d
e
nd of namespace comments
commit
|
commitdiff
|
tree
2017-05-23
practicalswift
[trivial] Fix three
r
e
cent
l
y introduced
typo
s
commit
|
commitdiff
|
tree
2017-05-22
practicalswift
[
t
e
s
ts]
Add libF
u
zzer suppo
r
t
.
commit
|
commitdiff
|
tree
2017-05-19
pr
a
ctical
s
wift
U
s
e
range-based for loops (
C
+
+
11) when looping over
.
.
.
commit
|
commitdiff
|
tree
2017-05-19
practicalswift
[test] Spe
e
d up
f
uzzing by ~200x w
h
en
using afl-fuzz
commit
|
commitdiff
|
tree
2017-05-18
practicalswif
t
[qt] Remove excess logic
commit
|
commitdiff
|
tree
2017-05-13
practicalswift
Rep
l
a
ce b
o
o
s
t::fu
n
cti
o
n
w
i
th std::f
u
n
c
t
ion (C++11
)
commit
|
commitdiff
|
tree
2017-05-02
pr
a
cticalswif
t
Remov
e
unu
s
ed
a
rgument from MarkB
l
o
c
k
A
s
InFlight(
.
.
.
)
commit
|
commitdiff
|
tree
2017-05-02
prac
t
icalswif
t
R
e
move unused
Pyth
o
n impor
t
s
commit
|
commitdiff
|
tree
2017-05-02
pra
c
t
icalswift
Remov
e
unused
forward declaration for non-existe
n
t
.
.
.
commit
|
commitdiff
|
tree
2017-04-26
practicalswift
Remove un
u
se
d
C++ code
not covered by
unit tests
commit
|
commitdiff
|
tree
2017-04-10
pra
c
ticalswi
f
t
[triv
i
al] Fix ty
p
os (temp
o
arily →
t
empora
r
i
l
y, inadvertantly
.
.
.
commit
|
commitdiff
|
tree
2017-04-10
p
ract
i
cal
s
wift
Remove e
x
cess log
i
c
.
commit
|
commitdiff
|
tree
2017-04-07
practic
a
lswift
[trivial] Fix typo ("improssible" →
"impossible")
commit
|
commitdiff
|
tree
2017-04-04
practicalswift
Remov
e
a
cc
i
d
enta
l
tra
i
l
i
ng
sem
i
colon
s
commit
|
commitdiff
|
tree
2017-04-04
p
racticalswift
Re
m
o
v
e unused im
p
ort
commit
|
commitdiff
|
tree
2017-04-02
practicalswift
[rpc] Re
m
ove auth
c
o
okie on s
h
utdow
n
commit
|
commitdiff
|
tree
2017-03-28
practicals
w
ift
Remove call
t
o gettransact
i
on(
.
.
.
)
w
h
er
e
th
e
result
.
.
.
commit
|
commitdiff
|
tree
next